#9F234D#9F234D
#9F234D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.161 H 6.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9F234D |
|---|---|
| RGB | rgb(159, 35, 77) |
| HSL | hsl(340, 64%, 38%) |
| HSV | hsv(340, 78%, 62%) |
| CMYK | cmyk(0%, 78%, 51.6%, 37.6%) |
| CIE-LAB | lab(36.20, 52.46, 6.50) |
| CIE-LCH | lch(36.20, 52.86, 7.06°) |
| OKLab | oklab(47.09% 0.1602 0.017) |
| OKLCH | oklch(47.09% 0.161 6) |
| XYZ | xyz(16.2401, 9.1111, 7.9232) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.12
Purplish Red
#B0054B
ΔE00 3.34
Raspberry (survey)
#B00149
ΔE00 3.55
Purple Red
#990147
ΔE00 3.57
Violet Red
#A50055
ΔE00 4.12
Cranberry
#9E003A
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F234D #239F75
analogous
#9F238B #9F234D #9F3723
triadic
#9F234D #4D9F23 #234D9F
tetradic
#9F234D #8B9F23 #239F75 #37239F
square
#9F234D #8B9F23 #239F75 #37239F
split-complementary
#9F234D #239F37 #238B9F
monochromatic
#3B0D1C #6D1835 #9F234D #D12E65 #DC608A
Accessibility & contrast
On white
7.44
#9F234D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#9F234D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F234D
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F234D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F234D | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42454E
Deuteranopia (green-blind)
#635E4A
Tritanopia (blue-blind)
#AE0035
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f234d; /* rgb */ color: rgb(159, 35, 77); /* oklch */ color: oklch(47.1% 0.161 6.0);
Tailwind
colors: {
custom: {
50: '#c16a7e',
500: '#9f234d',
950: '#000000',
},
}SCSS
$custom: #9f234d; $custom-light: #c16a7e; $custom-dark: #000000;
JSON
{
"hex": "#9f234d",
"rgb": {
"r": 159,
"g": 35,
"b": 77
},
"hsl": {
"h": 339.677,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.47087,
"c": 0.16114,
"h": 6
},
"luminance": 0.09109
}Semantic roles & 50–950 ramp
primary
#9F234D
secondary
#5DC19F
accent
#E7AF41
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B