#9F224B#9F224B
#9F224B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.162 H 6.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9F224B |
|---|---|
| RGB | rgb(159, 34, 75) |
| HSL | hsl(340, 65%, 38%) |
| HSV | hsv(340, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 52.8%, 37.6%) |
| CIE-LAB | lab(36.03, 52.61, 7.56) |
| CIE-LCH | lch(36.03, 53.15, 8.17°) |
| OKLab | oklab(46.95% 0.1605 0.0195) |
| OKLCH | oklch(46.95% 0.162 6.9) |
| XYZ | xyz(16.1416, 9.0253, 7.5473) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.17
Raspberry (survey)
#B00149
ΔE00 3.32
Berry
#990F4B
ΔE00 3.33
Purple Red
#990147
ΔE00 3.62
Cranberry
#9E003A
ΔE00 4.27
Violet Red
#A50055
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F224B #229F76
analogous
#9F2289 #9F224B #9F3722
triadic
#9F224B #4B9F22 #224B9F
tetradic
#9F224B #899F22 #229F76 #37229F
square
#9F224B #899F22 #229F76 #37229F
split-complementary
#9F224B #229F37 #22899F
monochromatic
#3A0C1B #6D1733 #9F224B #D12D63 #DD5F88
Accessibility & contrast
On white
7.49
#9F224B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#9F224B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F224B
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F224B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F224B | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42454C
Deuteranopia (green-blind)
#635E48
Tritanopia (blue-blind)
#AE0034
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f224b; /* rgb */ color: rgb(159, 34, 75); /* oklch */ color: oklch(46.9% 0.162 6.9);
Tailwind
colors: {
custom: {
50: '#c16a7d',
500: '#9f224b',
950: '#000000',
},
}SCSS
$custom: #9f224b; $custom-light: #c16a7d; $custom-dark: #000000;
JSON
{
"hex": "#9f224b",
"rgb": {
"r": 159,
"g": 34,
"b": 75
},
"hsl": {
"h": 340.32,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.46948,
"c": 0.16168,
"h": 6.9
},
"luminance": 0.09023
}Semantic roles & 50–950 ramp
primary
#9F224B
secondary
#5BC1A0
accent
#E8B140
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B