#9F2F78#9F2F78
#9F2F78 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.166 H 344.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F78 |
|---|---|
| RGB | rgb(159, 47, 120) |
| HSL | hsl(321, 54%, 40%) |
| HSV | hsv(321, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 24.5%, 37.6%) |
| CIE-LAB | lab(39.18, 53.01, -16.35) |
| CIE-LCH | lch(39.18, 55.47, 342.86°) |
| OKLab | oklab(49.76% 0.16 -0.0435) |
| OKLCH | oklch(49.76% 0.166 344.8) |
| XYZ | xyz(18.7055, 10.7619, 18.8578) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.91
Warm Purple
#952E8F
ΔE00 6.49
Magenta (survey)
#C20078
ΔE00 6.49
Deep Magenta
#A0025C
ΔE00 6.77
Light Eggplant
#894585
ΔE00 6.88
Mediumvioletred
#C71585
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F78 #2F9F56
analogous
#8E2F9F #9F2F78 #9F2F40
triadic
#9F2F78 #789F2F #2F789F
tetradic
#9F2F78 #9F8E2F #2F9F56 #2F409F
square
#9F2F78 #9F8E2F #2F9F56 #2F409F
split-complementary
#9F2F78 #409F2F #2F9F8E
monochromatic
#411331 #702154 #9F2F78 #C8449A #D673B3
Accessibility & contrast
On white
6.66
#9F2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#9F2F78 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F78
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F78 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#5D6375
Tritanopia (blue-blind)
#AA2E4F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f2f78; /* rgb */ color: rgb(159, 47, 120); /* oklch */ color: oklch(49.8% 0.166 344.8);
Tailwind
colors: {
custom: {
50: '#bf719f',
500: '#9f2f78',
950: '#000000',
},
}SCSS
$custom: #9f2f78; $custom-light: #bf719f; $custom-dark: #000000;
JSON
{
"hex": "#9f2f78",
"rgb": {
"r": 159,
"g": 47,
"b": 120
},
"hsl": {
"h": 320.893,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.49756,
"c": 0.16582,
"h": 344.8
},
"luminance": 0.1076
}Semantic roles & 50–950 ramp
primary
#9F2F78
secondary
#6DBD89
accent
#DE7D4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E