#9D2146#9D2146
#9D2146 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.160 H 9.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2146 |
|---|---|
| RGB | rgb(157, 33, 70) |
| HSL | hsl(342, 65%, 37%) |
| HSV | hsv(342, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 55.4%, 38.4%) |
| CIE-LAB | lab(35.40, 51.94, 9.85) |
| CIE-LCH | lch(35.40, 52.87, 10.73°) |
| OKLab | oklab(46.37% 0.1579 0.025) |
| OKLCH | oklch(46.37% 0.16 9) |
| XYZ | xyz(15.5555, 8.7002, 6.6534) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.20
Raspberry (survey)
#B00149
ΔE00 3.48
Purplish Red
#B0054B
ΔE00 3.53
Purple Red
#990147
ΔE00 4.02
Berry
#990F4B
ΔE00 4.02
Red Wine
#8C0034
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2146 #219D78
analogous
#9D2184 #9D2146 #9D3A21
triadic
#9D2146 #469D21 #21469D
tetradic
#9D2146 #849D21 #219D78 #3A219D
square
#9D2146 #849D21 #219D78 #3A219D
split-complementary
#9D2146 #219D3A #21849D
monochromatic
#380C19 #6A162F #9D2146 #D02C5D #DD5C82
Accessibility & contrast
On white
7.67
#9D2146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9D2146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2146
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2146 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424347
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d2146; /* rgb */ color: rgb(157, 33, 70); /* oklch */ color: oklch(46.4% 0.160 9.0);
Tailwind
colors: {
custom: {
50: '#c06979',
500: '#9d2146',
950: '#000000',
},
}SCSS
$custom: #9d2146; $custom-light: #c06979; $custom-dark: #000000;
JSON
{
"hex": "#9d2146",
"rgb": {
"r": 157,
"g": 33,
"b": 70
},
"hsl": {
"h": 342.097,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.46369,
"c": 0.15987,
"h": 9
},
"luminance": 0.08698
}Semantic roles & 50–950 ramp
primary
#9D2146
secondary
#59C1A2
accent
#E8B640
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B