#9D2145#9D2145
#9D2145 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.160 H 9.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2145 |
|---|---|
| RGB | rgb(157, 33, 69) |
| HSL | hsl(343, 65%, 37%) |
| HSV | hsv(343, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 56.1%, 38.4%) |
| CIE-LAB | lab(35.38, 51.87, 10.46) |
| CIE-LCH | lch(35.38, 52.91, 11.40°) |
| OKLab | oklab(46.34% 0.1575 0.0265) |
| OKLCH | oklch(46.34% 0.16 9.5) |
| XYZ | xyz(15.5242, 8.6877, 6.4885) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.01
Raspberry (survey)
#B00149
ΔE00 3.53
Purplish Red
#B0054B
ΔE00 3.61
Purple Red
#990147
ΔE00 4.25
Berry
#990F4B
ΔE00 4.30
Rouge
#AB1239
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2145 #219D79
analogous
#9D2183 #9D2145 #9D3B21
triadic
#9D2145 #459D21 #21459D
tetradic
#9D2145 #839D21 #219D79 #3B219D
square
#9D2145 #839D21 #219D79 #3B219D
split-complementary
#9D2145 #219D3B #21839D
monochromatic
#380C19 #6A162F #9D2145 #D02C5B #DD5C81
Accessibility & contrast
On white
7.67
#9D2145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9D2145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2145
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2145 | 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)
#424346
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d2145; /* rgb */ color: rgb(157, 33, 69); /* oklch */ color: oklch(46.3% 0.160 9.5);
Tailwind
colors: {
custom: {
50: '#c06978',
500: '#9d2145',
950: '#000000',
},
}SCSS
$custom: #9d2145; $custom-light: #c06978; $custom-dark: #000000;
JSON
{
"hex": "#9d2145",
"rgb": {
"r": 157,
"g": 33,
"b": 69
},
"hsl": {
"h": 342.581,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.46343,
"c": 0.15971,
"h": 9.5
},
"luminance": 0.08685
}Semantic roles & 50–950 ramp
primary
#9D2145
secondary
#59C1A3
accent
#E8B740
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B