#9F1D4D#9F1D4D
#9F1D4D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.167 H 5.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D4D |
|---|---|
| RGB | rgb(159, 29, 77) |
| HSL | hsl(338, 69%, 37%) |
| HSV | hsv(338, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 51.6%, 37.6%) |
| CIE-LAB | lab(35.57, 54.23, 5.61) |
| CIE-LCH | lch(35.57, 54.52, 5.91°) |
| OKLab | oklab(46.63% 0.1659 0.0148) |
| OKLCH | oklch(46.63% 0.167 5.1) |
| XYZ | xyz(16.0785, 8.7878, 7.8693) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.30
Purple Red
#990147
ΔE00 2.79
Violet Red
#A50055
ΔE00 3.34
Purplish Red
#B0054B
ΔE00 3.41
Raspberry (survey)
#B00149
ΔE00 3.65
Mulberry
#920A4E
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D4D #1D9F6F
analogous
#9F1D8E #9F1D4D #9F2E1D
triadic
#9F1D4D #4D9F1D #1D4D9F
tetradic
#9F1D4D #8E9F1D #1D9F6F #2E1D9F
square
#9F1D4D #8E9F1D #1D9F6F #2E1D9F
split-complementary
#9F1D4D #1D9F2E #1D8E9F
monochromatic
#370A1B #6B1434 #9F1D4D #D32666 #E05689
Accessibility & contrast
On white
7.62
#9F1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9F1D4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D4D
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D4D | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434E
Deuteranopia (green-blind)
#625D4A
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1d4d; /* rgb */ color: rgb(159, 29, 77); /* oklch */ color: oklch(46.6% 0.167 5.1);
Tailwind
colors: {
custom: {
50: '#c1687e',
500: '#9f1d4d',
950: '#000000',
},
}SCSS
$custom: #9f1d4d; $custom-light: #c1687e; $custom-dark: #000000;
JSON
{
"hex": "#9f1d4d",
"rgb": {
"r": 159,
"g": 29,
"b": 77
},
"hsl": {
"h": 337.846,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.46627,
"c": 0.1666,
"h": 5.1
},
"luminance": 0.08785
}Semantic roles & 50–950 ramp
primary
#9F1D4D
secondary
#54C49A
accent
#ECAB3C
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B