#9F224D#9F224D
#9F224D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.162 H 5.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9F224D |
|---|---|
| RGB | rgb(159, 34, 77) |
| HSL | hsl(339, 65%, 38%) |
| HSV | hsv(339, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 51.6%, 37.6%) |
| CIE-LAB | lab(36.09, 52.78, 6.34) |
| CIE-LCH | lch(36.09, 53.16, 6.85°) |
| OKLab | oklab(47.01% 0.1613 0.0166) |
| OKLCH | oklch(47.01% 0.162 5.9) |
| XYZ | xyz(16.2111, 9.0531, 7.9135) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.97
Purplish Red
#B0054B
ΔE00 3.33
Purple Red
#990147
ΔE00 3.42
Raspberry (survey)
#B00149
ΔE00 3.56
Violet Red
#A50055
ΔE00 3.98
Cranberry
#9E003A
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F224D #229F74
analogous
#9F228B #9F224D #9F3522
triadic
#9F224D #4D9F22 #224D9F
tetradic
#9F224D #8B9F22 #229F74 #35229F
square
#9F224D #8B9F22 #229F74 #35229F
split-complementary
#9F224D #229F35 #228B9F
monochromatic
#3A0C1C #6D1735 #9F224D #D12D65 #DD5F8A
Accessibility & contrast
On white
7.47
#9F224D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#9F224D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F224D
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F224D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F224D | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 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: #9f224d; /* rgb */ color: rgb(159, 34, 77); /* oklch */ color: oklch(47.0% 0.162 5.9);
Tailwind
colors: {
custom: {
50: '#c16a7e',
500: '#9f224d',
950: '#000000',
},
}SCSS
$custom: #9f224d; $custom-light: #c16a7e; $custom-dark: #000000;
JSON
{
"hex": "#9f224d",
"rgb": {
"r": 159,
"g": 34,
"b": 77
},
"hsl": {
"h": 339.36,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.47005,
"c": 0.1621,
"h": 5.9
},
"luminance": 0.09051
}Semantic roles & 50–950 ramp
primary
#9F224D
secondary
#5BC19E
accent
#E8AE40
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B