#9D1A46#9D1A46
#9D1A46 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.166 H 7.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1A46 |
|---|---|
| RGB | rgb(157, 26, 70) |
| HSL | hsl(340, 72%, 36%) |
| HSV | hsv(340, 83%, 62%) |
| CMYK | cmyk(0%, 83.4%, 55.4%, 38.4%) |
| CIE-LAB | lab(34.70, 53.92, 8.88) |
| CIE-LCH | lch(34.70, 54.64, 9.35°) |
| OKLab | oklab(45.86% 0.1643 0.0227) |
| OKLCH | oklch(45.86% 0.166 7.9) |
| XYZ | xyz(15.3810, 8.3513, 6.5952) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.03
Cranberry
#9E003A
ΔE00 3.11
Berry
#990F4B
ΔE00 3.12
Raspberry (survey)
#B00149
ΔE00 3.39
Purplish Red
#B0054B
ΔE00 3.40
Violet Red
#A50055
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1A46 #1A9D71
analogous
#9D1A87 #9D1A46 #9D2F1A
triadic
#9D1A46 #469D1A #1A469D
tetradic
#9D1A46 #879D1A #1A9D71 #2F1A9D
square
#9D1A46 #879D1A #1A9D71 #2F1A9D
split-complementary
#9D1A46 #1A9D2F #1A879D
monochromatic
#340917 #68112F #9D1A46 #D2235D #E24F81
Accessibility & contrast
On white
7.87
#9D1A46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9D1A46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1A46
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1A46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1A46 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4147
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1a46; /* rgb */ color: rgb(157, 26, 70); /* oklch */ color: oklch(45.9% 0.166 7.9);
Tailwind
colors: {
custom: {
50: '#c06779',
500: '#9d1a46',
950: '#000000',
},
}SCSS
$custom: #9d1a46; $custom-light: #c06779; $custom-dark: #000000;
JSON
{
"hex": "#9d1a46",
"rgb": {
"r": 157,
"g": 26,
"b": 70
},
"hsl": {
"h": 339.847,
"s": 71.585,
"l": 35.882
},
"oklch": {
"l": 0.45857,
"c": 0.16585,
"h": 7.9
},
"luminance": 0.08349
}Semantic roles & 50–950 ramp
primary
#9D1A46
secondary
#4EC49D
accent
#EEB239
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B