#9F2F7D#9F2F7D
#9F2F7D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.169 H 342.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F7D |
|---|---|
| RGB | rgb(159, 47, 125) |
| HSL | hsl(318, 54%, 40%) |
| HSV | hsv(318, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 21.4%, 37.6%) |
| CIE-LAB | lab(39.39, 53.70, -19.13) |
| CIE-LCH | lch(39.39, 57.00, 340.39°) |
| OKLab | oklab(49.98% 0.1611 -0.0513) |
| OKLCH | oklch(49.98% 0.169 342.3) |
| XYZ | xyz(19.0169, 10.8865, 20.4978) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.37
Red Violet
#9E0168
ΔE00 5.51
Light Eggplant
#894585
ΔE00 6.25
Magenta (survey)
#C20078
ΔE00 6.95
Bruise
#7E4071
ΔE00 7.13
Mediumvioletred
#C71585
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F7D #2F9F51
analogous
#892F9F #9F2F7D #9F2F45
triadic
#9F2F7D #7D9F2F #2F7D9F
tetradic
#9F2F7D #9F892F #2F9F51 #2F459F
square
#9F2F7D #9F892F #2F9F51 #2F459F
split-complementary
#9F2F7D #459F2F #2F9F89
monochromatic
#411333 #702158 #9F2F7D #C844A0 #D673B8
Accessibility & contrast
On white
6.61
#9F2F7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#9F2F7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F7D
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F7D | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#5B637A
Tritanopia (blue-blind)
#A93052
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f2f7d; /* rgb */ color: rgb(159, 47, 125); /* oklch */ color: oklch(50.0% 0.169 342.3);
Tailwind
colors: {
custom: {
50: '#bf71a2',
500: '#9f2f7d',
950: '#000000',
},
}SCSS
$custom: #9f2f7d; $custom-light: #bf71a2; $custom-dark: #000000;
JSON
{
"hex": "#9f2f7d",
"rgb": {
"r": 159,
"g": 47,
"b": 125
},
"hsl": {
"h": 318.214,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.4998,
"c": 0.16901,
"h": 342.3
},
"luminance": 0.10885
}Semantic roles & 50–950 ramp
primary
#9F2F7D
secondary
#6DBD85
accent
#DE774A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F