#9D2147#9D2147
#9D2147 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.160 H 8.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2147 |
|---|---|
| RGB | rgb(157, 33, 71) |
| HSL | hsl(342, 65%, 37%) |
| HSV | hsv(342, 79%, 62%) |
| CMYK | cmyk(0%, 79%, 54.8%, 38.4%) |
| CIE-LAB | lab(35.43, 52.02, 9.23) |
| CIE-LCH | lch(35.43, 52.83, 10.07°) |
| OKLab | oklab(46.4% 0.1583 0.0236) |
| OKLCH | oklch(46.4% 0.16 8.5) |
| XYZ | xyz(15.5873, 8.7130, 6.8210) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.41
Raspberry (survey)
#B00149
ΔE00 3.47
Purplish Red
#B0054B
ΔE00 3.47
Berry
#990F4B
ΔE00 3.75
Purple Red
#990147
ΔE00 3.81
Violet Red
#A50055
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2147 #219D77
analogous
#9D2185 #9D2147 #9D3921
triadic
#9D2147 #479D21 #21479D
tetradic
#9D2147 #859D21 #219D77 #39219D
square
#9D2147 #859D21 #219D77 #39219D
split-complementary
#9D2147 #219D39 #21859D
monochromatic
#380C19 #6A1630 #9D2147 #D02C5E #DD5C83
Accessibility & contrast
On white
7.66
#9D2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9D2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2147
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2147 | 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)
#424348
Deuteranopia (green-blind)
#625C44
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d2147; /* rgb */ color: rgb(157, 33, 71); /* oklch */ color: oklch(46.4% 0.160 8.5);
Tailwind
colors: {
custom: {
50: '#c06979',
500: '#9d2147',
950: '#000000',
},
}SCSS
$custom: #9d2147; $custom-light: #c06979; $custom-dark: #000000;
JSON
{
"hex": "#9d2147",
"rgb": {
"r": 157,
"g": 33,
"b": 71
},
"hsl": {
"h": 341.613,
"s": 65.263,
"l": 37.255
},
"oklch": {
"l": 0.46396,
"c": 0.16003,
"h": 8.5
},
"luminance": 0.08711
}Semantic roles & 50–950 ramp
primary
#9D2147
secondary
#59C1A1
accent
#E8B540
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B