#9F2972#9F2972
#9F2972 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.170 H 347.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2972 |
|---|---|
| RGB | rgb(159, 41, 114) |
| HSL | hsl(323, 59%, 39%) |
| HSV | hsv(323, 74%, 62%) |
| CMYK | cmyk(0%, 74.2%, 28.3%, 37.6%) |
| CIE-LAB | lab(38.15, 54.40, -14.17) |
| CIE-LCH | lch(38.15, 56.22, 345.40°) |
| OKLab | oklab(48.93% 0.1654 -0.0374) |
| OKLCH | oklch(48.93% 0.17 347.3) |
| XYZ | xyz(18.1291, 10.1737, 16.9253) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.67
Deep Magenta
#A0025C
ΔE00 5.34
Dark Fuchsia
#9D0759
ΔE00 5.81
Magenta (survey)
#C20078
ΔE00 6.21
Dark Magenta
#960056
ΔE00 6.46
Violet Red
#A50055
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2972 #299F56
analogous
#91299F #9F2972 #9F2937
triadic
#9F2972 #729F29 #29729F
tetradic
#9F2972 #9F9129 #299F56 #29379F
square
#9F2972 #9F9129 #299F56 #29379F
split-complementary
#9F2972 #379F29 #299F91
monochromatic
#3E102C #6E1C4F #9F2972 #CC3994 #D96AAE
Accessibility & contrast
On white
6.92
#9F2972 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#9F2972 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2972
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2972 | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4D74
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#AA254A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9f2972; /* rgb */ color: rgb(159, 41, 114); /* oklch */ color: oklch(48.9% 0.170 347.3);
Tailwind
colors: {
custom: {
50: '#bf6e9a',
500: '#9f2972',
950: '#000000',
},
}SCSS
$custom: #9f2972; $custom-light: #bf6e9a; $custom-dark: #000000;
JSON
{
"hex": "#9f2972",
"rgb": {
"r": 159,
"g": 41,
"b": 114
},
"hsl": {
"h": 322.881,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.48928,
"c": 0.16961,
"h": 347.3
},
"luminance": 0.10172
}Semantic roles & 50–950 ramp
primary
#9F2972
secondary
#65BF87
accent
#E28146
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E