#9F224A#9F224A
#9F224A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.161 H 7.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9F224A |
|---|---|
| RGB | rgb(159, 34, 74) |
| HSL | hsl(341, 65%, 38%) |
| HSV | hsv(341, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 53.5%, 37.6%) |
| CIE-LAB | lab(36.01, 52.53, 8.16) |
| CIE-LCH | lch(36.01, 53.16, 8.84°) |
| OKLab | oklab(46.92% 0.1601 0.021) |
| OKLCH | oklch(46.92% 0.161 7.5) |
| XYZ | xyz(16.1076, 9.0117, 7.3685) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.14
Raspberry (survey)
#B00149
ΔE00 3.24
Berry
#990F4B
ΔE00 3.54
Purple Red
#990147
ΔE00 3.76
Cranberry
#9E003A
ΔE00 4.03
Violet Red
#A50055
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F224A #229F77
analogous
#9F2288 #9F224A #9F3822
triadic
#9F224A #4A9F22 #224A9F
tetradic
#9F224A #889F22 #229F77 #38229F
square
#9F224A #889F22 #229F77 #38229F
split-complementary
#9F224A #229F38 #22889F
monochromatic
#3A0C1B #6D1733 #9F224A #D12D61 #DD5F87
Accessibility & contrast
On white
7.50
#9F224A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9F224A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F224A
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F224A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F224A | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43454B
Deuteranopia (green-blind)
#635E47
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f224a; /* rgb */ color: rgb(159, 34, 74); /* oklch */ color: oklch(46.9% 0.161 7.5);
Tailwind
colors: {
custom: {
50: '#c16a7c',
500: '#9f224a',
950: '#000000',
},
}SCSS
$custom: #9f224a; $custom-light: #c16a7c; $custom-dark: #000000;
JSON
{
"hex": "#9f224a",
"rgb": {
"r": 159,
"g": 34,
"b": 74
},
"hsl": {
"h": 340.8,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.4692,
"c": 0.16147,
"h": 7.5
},
"luminance": 0.09009
}Semantic roles & 50–950 ramp
primary
#9F224A
secondary
#5BC1A1
accent
#E8B240
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B