#9D2142#9D2142
#9D2142 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.159 H 11.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2142 |
|---|---|
| RGB | rgb(157, 33, 66) |
| HSL | hsl(344, 65%, 37%) |
| HSV | hsv(344, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 58%, 38.4%) |
| CIE-LAB | lab(35.30, 51.64, 12.30) |
| CIE-LCH | lch(35.30, 53.09, 13.40°) |
| OKLab | oklab(46.27% 0.1563 0.0308) |
| OKLCH | oklch(46.27% 0.159 11.1) |
| XYZ | xyz(15.4334, 8.6514, 6.0104) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.61
Raspberry (survey)
#B00149
ΔE00 3.85
Purplish Red
#B0054B
ΔE00 4.04
Rouge
#AB1239
ΔE00 4.18
Purple Red
#990147
ΔE00 5.02
Red Wine
#8C0034
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2142 #219D7C
analogous
#9D2180 #9D2142 #9D3E21
triadic
#9D2142 #429D21 #21429D
tetradic
#9D2142 #809D21 #219D7C #3E219D
square
#9D2142 #809D21 #219D7C #3E219D
split-complementary
#9D2142 #219D3E #21809D
monochromatic
#380C17 #6A162D #9D2142 #D02C57 #DD5C7E
Accessibility & contrast
On white
7.69
#9D2142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9D2142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2142
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2142 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434342
Deuteranopia (green-blind)
#635C3F
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d2142; /* rgb */ color: rgb(157, 33, 66); /* oklch */ color: oklch(46.3% 0.159 11.1);
Tailwind
colors: {
custom: {
50: '#c06976',
500: '#9d2142',
950: '#000000',
},
}SCSS
$custom: #9d2142; $custom-light: #c06976; $custom-dark: #000000;
JSON
{
"hex": "#9d2142",
"rgb": {
"r": 157,
"g": 33,
"b": 66
},
"hsl": {
"h": 344.032,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.46267,
"c": 0.15931,
"h": 11.1
},
"luminance": 0.08649
}Semantic roles & 50–950 ramp
primary
#9D2142
secondary
#59C1A5
accent
#E8BB40
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130708
muted
#827A7B