#9D1F4E#9D1F4E
#9D1F4E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 4.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F4E |
|---|---|
| RGB | rgb(157, 31, 78) |
| HSL | hsl(338, 67%, 37%) |
| HSV | hsv(338, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 50.3%, 38.4%) |
| CIE-LAB | lab(35.40, 53.20, 4.66) |
| CIE-LCH | lch(35.40, 53.40, 5.01°) |
| OKLab | oklab(46.44% 0.1629 0.0124) |
| OKLCH | oklch(46.44% 0.163 4.4) |
| XYZ | xyz(15.7712, 8.7003, 8.0551) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.06
Purple Red
#990147
ΔE00 2.73
Violet Red
#A50055
ΔE00 3.20
Purplish Red
#B0054B
ΔE00 3.93
Raspberry (survey)
#B00149
ΔE00 4.19
Mulberry
#920A4E
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F4E #1F9D6E
analogous
#9D1F8D #9D1F4E #9D2F1F
triadic
#9D1F4E #4E9D1F #1F4E9D
tetradic
#9D1F4E #8D9D1F #1F9D6E #2F1F9D
square
#9D1F4E #8D9D1F #1F9D6E #2F1F9D
split-complementary
#9D1F4E #1F9D2F #1F8D9D
monochromatic
#370B1B #6A1535 #9D1F4E #D02967 #DE588A
Accessibility & contrast
On white
7.67
#9D1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9D1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F4E
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F4E | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F434F
Deuteranopia (green-blind)
#615C4B
Tritanopia (blue-blind)
#AB0034
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d1f4e; /* rgb */ color: rgb(157, 31, 78); /* oklch */ color: oklch(46.4% 0.163 4.4);
Tailwind
colors: {
custom: {
50: '#c0697f',
500: '#9d1f4e',
950: '#000000',
},
}SCSS
$custom: #9d1f4e; $custom-light: #c0697f; $custom-dark: #000000;
JSON
{
"hex": "#9d1f4e",
"rgb": {
"r": 157,
"g": 31,
"b": 78
},
"hsl": {
"h": 337.619,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.46439,
"c": 0.16337,
"h": 4.4
},
"luminance": 0.08698
}Semantic roles & 50–950 ramp
primary
#9D1F4E
secondary
#56C29A
accent
#EAAA3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C