#9F2D72#9F2D72
#9F2D72 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.165 H 347.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2D72 |
|---|---|
| RGB | rgb(159, 45, 114) |
| HSL | hsl(324, 56%, 40%) |
| HSV | hsv(324, 72%, 62%) |
| CMYK | cmyk(0%, 71.7%, 28.3%, 37.6%) |
| CIE-LAB | lab(38.66, 52.97, -13.39) |
| CIE-LCH | lch(38.66, 54.63, 345.81°) |
| OKLab | oklab(49.3% 0.161 -0.0353) |
| OKLCH | oklch(49.3% 0.165 347.6) |
| XYZ | xyz(18.2746, 10.4646, 16.9738) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.21
Deep Magenta
#A0025C
ΔE00 5.57
Dark Fuchsia
#9D0759
ΔE00 6.00
Magenta (survey)
#C20078
ΔE00 6.17
Dark Magenta
#960056
ΔE00 6.74
Mediumvioletred
#C71585
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2D72 #2D9F5A
analogous
#932D9F #9F2D72 #9F2D39
triadic
#9F2D72 #729F2D #2D729F
tetradic
#9F2D72 #9F932D #2D9F5A #2D399F
square
#9F2D72 #9F932D #2D9F5A #2D399F
split-complementary
#9F2D72 #399F2D #2D9F93
monochromatic
#40122E #6F2050 #9F2D72 #C94093 #D670AE
Accessibility & contrast
On white
6.79
#9F2D72 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9F2D72 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2D72
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2D72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2D72 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4E74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#AA294B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f2d72; /* rgb */ color: rgb(159, 45, 114); /* oklch */ color: oklch(49.3% 0.165 347.6);
Tailwind
colors: {
custom: {
50: '#bf709a',
500: '#9f2d72',
950: '#000000',
},
}SCSS
$custom: #9f2d72; $custom-light: #bf709a; $custom-dark: #000000;
JSON
{
"hex": "#9f2d72",
"rgb": {
"r": 159,
"g": 45,
"b": 114
},
"hsl": {
"h": 323.684,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.49301,
"c": 0.16479,
"h": 347.6
},
"luminance": 0.10463
}Semantic roles & 50–950 ramp
primary
#9F2D72
secondary
#6ABE8B
accent
#DF8449
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E