#9D1C48#9D1C48
#9D1C48 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.165 H 7.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1C48 |
|---|---|
| RGB | rgb(157, 28, 72) |
| HSL | hsl(340, 70%, 36%) |
| HSV | hsv(340, 82%, 62%) |
| CMYK | cmyk(0%, 82.2%, 54.1%, 38.4%) |
| CIE-LAB | lab(34.94, 53.55, 7.90) |
| CIE-LCH | lch(34.94, 54.13, 8.40°) |
| OKLab | oklab(46.05% 0.1634 0.0203) |
| OKLCH | oklch(46.05% 0.165 7.1) |
| XYZ | xyz(15.4910, 8.4687, 6.9486) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.81
Purple Red
#990147
ΔE00 2.88
Purplish Red
#B0054B
ΔE00 3.40
Raspberry (survey)
#B00149
ΔE00 3.47
Cranberry
#9E003A
ΔE00 3.62
Violet Red
#A50055
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1C48 #1C9D71
analogous
#9D1C89 #9D1C48 #9D311C
triadic
#9D1C48 #489D1C #1C489D
tetradic
#9D1C48 #899D1C #1C9D71 #311C9D
square
#9D1C48 #899D1C #1C9D71 #311C9D
split-complementary
#9D1C48 #1C9D31 #1C899D
monochromatic
#350918 #691330 #9D1C48 #D12560 #E05383
Accessibility & contrast
On white
7.80
#9D1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9D1C48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1C48
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1C48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1C48 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#AC0030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1c48; /* rgb */ color: rgb(157, 28, 72); /* oklch */ color: oklch(46.0% 0.165 7.1);
Tailwind
colors: {
custom: {
50: '#c0677a',
500: '#9d1c48',
950: '#000000',
},
}SCSS
$custom: #9d1c48; $custom-light: #c0677a; $custom-dark: #000000;
JSON
{
"hex": "#9d1c48",
"rgb": {
"r": 157,
"g": 28,
"b": 72
},
"hsl": {
"h": 339.535,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.46047,
"c": 0.16462,
"h": 7.1
},
"luminance": 0.08466
}Semantic roles & 50–950 ramp
primary
#9D1C48
secondary
#51C39C
accent
#EDB03B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B