#9F2F72#9F2F72
#9F2F72 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.162 H 347.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F72 |
|---|---|
| RGB | rgb(159, 47, 114) |
| HSL | hsl(324, 54%, 40%) |
| HSV | hsv(324, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 28.3%, 37.6%) |
| CIE-LAB | lab(38.93, 52.21, -12.98) |
| CIE-LCH | lch(38.93, 53.80, 346.04°) |
| OKLab | oklab(49.5% 0.1586 -0.0342) |
| OKLCH | oklch(49.5% 0.162 347.8) |
| XYZ | xyz(18.3527, 10.6208, 16.9998) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.51
Deep Magenta
#A0025C
ΔE00 5.71
Dark Fuchsia
#9D0759
ΔE00 6.12
Magenta (survey)
#C20078
ΔE00 6.18
Dark Magenta
#960056
ΔE00 6.90
Mediumvioletred
#C71585
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F72 #2F9F5C
analogous
#942F9F #9F2F72 #9F2F3A
triadic
#9F2F72 #729F2F #2F729F
tetradic
#9F2F72 #9F942F #2F9F5C #2F3A9F
square
#9F2F72 #9F942F #2F9F5C #2F3A9F
split-complementary
#9F2F72 #3A9F2F #2F9F94
monochromatic
#41132E #702150 #9F2F72 #C84493 #D673AE
Accessibility & contrast
On white
6.72
#9F2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9F2F72 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2F72
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F72 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#5F636F
Tritanopia (blue-blind)
#AA2B4C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f2f72; /* rgb */ color: rgb(159, 47, 114); /* oklch */ color: oklch(49.5% 0.162 347.8);
Tailwind
colors: {
custom: {
50: '#bf719a',
500: '#9f2f72',
950: '#000000',
},
}SCSS
$custom: #9f2f72; $custom-light: #bf719a; $custom-dark: #000000;
JSON
{
"hex": "#9f2f72",
"rgb": {
"r": 159,
"g": 47,
"b": 114
},
"hsl": {
"h": 324.107,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.49499,
"c": 0.16227,
"h": 347.8
},
"luminance": 0.10619
}Semantic roles & 50–950 ramp
primary
#9F2F72
secondary
#6DBD8D
accent
#DE854A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E