Nearest named color · #AB92B7
#AB92B7
Nearest named color: Metal Petal
#AB92B7 (rgb(171 146 183), hsl(281 20% 65%), oklch(0.695 0.06 314.8)) is closest to the named color Metal Petal. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#AB92B7
oklch(0.695 0.06 314.8)
Color conversions
- HEX
- #ab92b7
- RGB
- rgb(171 146 183)
- HSL
- hsl(281 20% 65%)
- HWB
- hwb(281 57% 28%)
- OKLCH
- oklch(0.695 0.06 314.8)
- OKLab
- oklab(0.695 0.042 -0.043)
- CIE Lab
- lab(63.78 14.8 -15.76)
- LCH
- lch(63.78 21.62 313.2)
- CMYK
- cmyk(7% 20% 0% 28%)
Tints · Shades · Tones
Tints
- B39DBE
- BBA7C5
- C4B2CC
- CCBDD4
- D4C7DB
- DDD2E2
- E5DDE9
- EEE9F0
- F6F4F8
Shades
- 947E9F
- 7E6B87
- 685870
- 54465A
- 403545
- 2D2531
- 1B161E
- 0B080C
- 010102
Tones
- A790B1
- A28FAC
- 9E8DA6
- 9A8BA1
- 95899B
- 918796
- 8D8690
- 89848B
- 848285
Color harmonies
Complementary +180°
- AB92B7
Metal Petal
- 8DA680
≈ Baby Spinach
Analogous -30° +30°
- AB92B7
Metal Petal
- 9898C1
≈ Grape Ivy
- B98EA6
≈ Elite Pink
Triadic +120° +240°
- AB92B7
Metal Petal
- B39873
≈ Gold Season
- 6FA9A8
≈ Cresting Waves
Split-complementary +150° +210°
- AB92B7
Metal Petal
- A29F74
≈ Fresh Olive
- 7AA993
≈ Acapulco
Tetradic +90° +180° +270°
- AB92B7
Metal Petal
- BD917E
≈ Belfry Brick
- 8DA680
≈ Baby Spinach
- 74A5B9
≈ Blue Ridge Mist
Contrast & accessibility
Ag
FailOn white
WCAG 2.78:1 · APCA Lc 54
Ag
AAAOn black
WCAG 7.52:1 · APCA Lc 48
Best text color: #000000
WCAG 7.52:1 (AAA) · APCA Lc 48
Contrast pairs
Code snippets
CSS
:root {
--metal-petal: #ab92b7;
--metal-petal-rgb: 171 146 183;
--metal-petal-oklch: oklch(0.695 0.06 314.8);
}
.element {
color: var(--metal-petal);
background-color: hsl(281 20% 65%);
border-color: oklch(0.695 0.06 314.8);
}Tailwind CSS v4
@theme {
--color-metal-petal: #ab92b7;
--color-metal-petal-50: #fcf0ff;
--color-metal-petal-100: #f0e2f6;
--color-metal-petal-200: #dfcde6;
--color-metal-petal-300: #c4aecc;
--color-metal-petal-400: #ac94b7;
--color-metal-petal-500: #957aa2;
--color-metal-petal-600: #7e6889;
--color-metal-petal-700: #65536e;
--color-metal-petal-800: #4a3c51;
--color-metal-petal-900: #332939;
--color-metal-petal-950: #1f1723;
}SCSS
$metal-petal: #ab92b7;
$metal-petal-rgb: 171, 146, 183;
$metal-petal-light: mix(#fff, $metal-petal, 20%);
$metal-petal-dark: mix(#000, $metal-petal, 20%);
.element {
color: $metal-petal;
box-shadow: 0 0 0 2px rgba($metal-petal, 0.35);
}