#9D2242#9D2242
#9D2242 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.158 H 11.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2242 |
|---|---|
| RGB | rgb(157, 34, 66) |
| HSL | hsl(344, 64%, 37%) |
| HSV | hsv(344, 78%, 62%) |
| CMYK | cmyk(0%, 78.3%, 58%, 38.4%) |
| CIE-LAB | lab(35.42, 51.33, 12.46) |
| CIE-LCH | lch(35.42, 52.82, 13.64°) |
| OKLab | oklab(46.35% 0.1553 0.0312) |
| OKLCH | oklch(46.35% 0.158 11.3) |
| XYZ | xyz(15.4615, 8.7077, 6.0198) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.72
Raspberry (survey)
#B00149
ΔE00 3.92
Rouge
#AB1239
ΔE00 4.11
Purplish Red
#B0054B
ΔE00 4.12
Red Wine
#8C0034
ΔE00 5.15
Purple Red
#990147
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2242 #229D7D
analogous
#9D2280 #9D2242 #9D3F22
triadic
#9D2242 #429D22 #22429D
tetradic
#9D2242 #809D22 #229D7D #3F229D
square
#9D2242 #809D22 #229D7D #3F229D
split-complementary
#9D2242 #229D3F #22809D
monochromatic
#380C18 #6B172D #9D2242 #CF2D57 #DC5D7E
Accessibility & contrast
On white
7.66
#9D2242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9D2242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2242
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2242 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444342
Deuteranopia (green-blind)
#635C3F
Tritanopia (blue-blind)
#AC0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d2242; /* rgb */ color: rgb(157, 34, 66); /* oklch */ color: oklch(46.3% 0.158 11.3);
Tailwind
colors: {
custom: {
50: '#c06976',
500: '#9d2242',
950: '#000000',
},
}SCSS
$custom: #9d2242; $custom-light: #c06976; $custom-dark: #000000;
JSON
{
"hex": "#9d2242",
"rgb": {
"r": 157,
"g": 34,
"b": 66
},
"hsl": {
"h": 344.39,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.46349,
"c": 0.15839,
"h": 11.3
},
"luminance": 0.08706
}Semantic roles & 50–950 ramp
primary
#9D2242
secondary
#5AC1A6
accent
#E7BC40
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B