#9D1A45#9D1A45
#9D1A45 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.166 H 8.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1A45 |
|---|---|
| RGB | rgb(157, 26, 69) |
| HSL | hsl(340, 72%, 36%) |
| HSV | hsv(340, 83%, 62%) |
| CMYK | cmyk(0%, 83.4%, 56.1%, 38.4%) |
| CIE-LAB | lab(34.68, 53.84, 9.49) |
| CIE-LCH | lch(34.68, 54.67, 10.00°) |
| OKLab | oklab(45.83% 0.1639 0.0241) |
| OKLCH | oklch(45.83% 0.166 8.4) |
| XYZ | xyz(15.3497, 8.3388, 6.4304) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.84
Purple Red
#990147
ΔE00 3.26
Raspberry (survey)
#B00149
ΔE00 3.38
Berry
#990F4B
ΔE00 3.40
Purplish Red
#B0054B
ΔE00 3.42
Red Wine
#8C0034
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1A45 #1A9D72
analogous
#9D1A86 #9D1A45 #9D301A
triadic
#9D1A45 #459D1A #1A459D
tetradic
#9D1A45 #869D1A #1A9D72 #301A9D
square
#9D1A45 #869D1A #1A9D72 #301A9D
split-complementary
#9D1A45 #1A9D30 #1A869D
monochromatic
#340917 #68112E #9D1A45 #D2235C #E24F80
Accessibility & contrast
On white
7.87
#9D1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9D1A45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1A45
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1A45 | 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)
#3F4146
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1a45; /* rgb */ color: rgb(157, 26, 69); /* oklch */ color: oklch(45.8% 0.166 8.4);
Tailwind
colors: {
custom: {
50: '#c06778',
500: '#9d1a45',
950: '#000000',
},
}SCSS
$custom: #9d1a45; $custom-light: #c06778; $custom-dark: #000000;
JSON
{
"hex": "#9d1a45",
"rgb": {
"r": 157,
"g": 26,
"b": 69
},
"hsl": {
"h": 340.305,
"s": 71.585,
"l": 35.882
},
"oklch": {
"l": 0.4583,
"c": 0.16567,
"h": 8.4
},
"luminance": 0.08337
}Semantic roles & 50–950 ramp
primary
#9D1A45
secondary
#4EC49E
accent
#EEB339
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#130708
muted
#827A7B