#9D1A4B#9D1A4B
#9D1A4B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 5.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1A4B |
|---|---|
| RGB | rgb(157, 26, 75) |
| HSL | hsl(338, 72%, 36%) |
| HSV | hsv(338, 83%, 62%) |
| CMYK | cmyk(0%, 83.4%, 52.2%, 38.4%) |
| CIE-LAB | lab(34.84, 54.31, 5.81) |
| CIE-LCH | lch(34.84, 54.62, 6.10°) |
| OKLab | oklab(46% 0.1662 0.0152) |
| OKLCH | oklch(46% 0.167 5.2) |
| XYZ | xyz(15.5455, 8.4171, 7.4613) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.87
Purple Red
#990147
ΔE00 2.25
Violet Red
#A50055
ΔE00 3.42
Purplish Red
#B0054B
ΔE00 3.68
Raspberry (survey)
#B00149
ΔE00 3.87
Mulberry
#920A4E
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1A4B #1A9D6C
analogous
#9D1A8C #9D1A4B #9D2A1A
triadic
#9D1A4B #4B9D1A #1A4B9D
tetradic
#9D1A4B #8C9D1A #1A9D6C #2A1A9D
square
#9D1A4B #8C9D1A #1A9D6C #2A1A9D
split-complementary
#9D1A4B #1A9D2A #1A8C9D
monochromatic
#340919 #681132 #9D1A4B #D22364 #E24F86
Accessibility & contrast
On white
7.83
#9D1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9D1A4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1A4B
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1A4B | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#605B48
Tritanopia (blue-blind)
#AC0030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1a4b; /* rgb */ color: rgb(157, 26, 75); /* oklch */ color: oklch(46.0% 0.167 5.2);
Tailwind
colors: {
custom: {
50: '#c0677d',
500: '#9d1a4b',
950: '#000000',
},
}SCSS
$custom: #9d1a4b; $custom-light: #c0677d; $custom-dark: #000000;
JSON
{
"hex": "#9d1a4b",
"rgb": {
"r": 157,
"g": 26,
"b": 75
},
"hsl": {
"h": 337.557,
"s": 71.585,
"l": 35.882
},
"oklch": {
"l": 0.45998,
"c": 0.1669,
"h": 5.2
},
"luminance": 0.08415
}Semantic roles & 50–950 ramp
primary
#9D1A4B
secondary
#4EC498
accent
#EEAB39
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B