#9F224F#9F224F
#9F224F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 4.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9F224F |
|---|---|
| RGB | rgb(159, 34, 79) |
| HSL | hsl(338, 65%, 38%) |
| HSV | hsv(338, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 50.3%, 37.6%) |
| CIE-LAB | lab(36.14, 52.95, 5.13) |
| CIE-LCH | lch(36.14, 53.19, 5.53°) |
| OKLab | oklab(47.06% 0.162 0.0136) |
| OKLCH | oklch(47.06% 0.163 4.8) |
| XYZ | xyz(16.2828, 9.0818, 8.2912) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.72
Purple Red
#990147
ΔE00 3.33
Violet Red
#A50055
ΔE00 3.49
Purplish Red
#B0054B
ΔE00 3.59
Raspberry (survey)
#B00149
ΔE00 3.88
Mulberry
#920A4E
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F224F #229F72
analogous
#9F228D #9F224F #9F3322
triadic
#9F224F #4F9F22 #224F9F
tetradic
#9F224F #8D9F22 #229F72 #33229F
square
#9F224F #8D9F22 #229F72 #33229F
split-complementary
#9F224F #229F33 #228D9F
monochromatic
#3A0C1D #6D1736 #9F224F #D12D68 #DD5F8C
Accessibility & contrast
On white
7.46
#9F224F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#9F224F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F224F
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F224F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F224F | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414550
Deuteranopia (green-blind)
#625E4C
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f224f; /* rgb */ color: rgb(159, 34, 79); /* oklch */ color: oklch(47.1% 0.163 4.8);
Tailwind
colors: {
custom: {
50: '#c16a80',
500: '#9f224f',
950: '#000000',
},
}SCSS
$custom: #9f224f; $custom-light: #c16a80; $custom-dark: #000000;
JSON
{
"hex": "#9f224f",
"rgb": {
"r": 159,
"g": 34,
"b": 79
},
"hsl": {
"h": 338.4,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.47063,
"c": 0.16257,
"h": 4.8
},
"luminance": 0.09079
}Semantic roles & 50–950 ramp
primary
#9F224F
secondary
#5BC19D
accent
#E8AB40
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C