#9F2286#9F2286
#9F2286 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.3% C 0.190 H 337.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2286 |
|---|---|
| RGB | rgb(159, 34, 134) |
| HSL | hsl(312, 65%, 38%) |
| HSV | hsv(312, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 15.7%, 37.6%) |
| CIE-LAB | lab(38.27, 59.33, -26.43) |
| CIE-LCH | lch(38.27, 64.96, 335.99°) |
| OKLab | oklab(49.3% 0.1756 -0.0718) |
| OKLCH | oklch(49.3% 0.19 337.7) |
| XYZ | xyz(19.1736, 10.2381, 23.5160) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.17
Barney Purple
#A00498
ΔE00 4.29
Red Violet
#9E0168
ΔE00 6.36
Darkmagenta
#8B008B
ΔE00 6.49
Light Eggplant
#894585
ΔE00 6.79
Ugly Purple
#A442A0
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2286 #229F3B
analogous
#79229F #9F2286 #9F2247
triadic
#9F2286 #869F22 #22869F
tetradic
#9F2286 #9F7922 #229F3B #22479F
square
#9F2286 #9F7922 #229F3B #22479F
split-complementary
#9F2286 #479F22 #229F79
monochromatic
#3A0C31 #6D175C #9F2286 #D12DB0 #DD5FC4
Accessibility & contrast
On white
6.89
#9F2286 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#9F2286 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2286
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2286 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#A82A52
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9f2286; /* rgb */ color: rgb(159, 34, 134); /* oklch */ color: oklch(49.3% 0.190 337.7);
Tailwind
colors: {
custom: {
50: '#bf6ca9',
500: '#9f2286',
950: '#000000',
},
}SCSS
$custom: #9f2286; $custom-light: #bf6ca9; $custom-dark: #000000;
JSON
{
"hex": "#9f2286",
"rgb": {
"r": 159,
"g": 34,
"b": 134
},
"hsl": {
"h": 312,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.49303,
"c": 0.1897,
"h": 337.7
},
"luminance": 0.10236
}Semantic roles & 50–950 ramp
primary
#9F2286
secondary
#5BC170
accent
#E86240
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F