#9F1D40#9F1D40
#9F1D40 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.164 H 11.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D40 |
|---|---|
| RGB | rgb(159, 29, 64) |
| HSL | hsl(344, 69%, 37%) |
| HSV | hsv(344, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 59.7%, 37.6%) |
| CIE-LAB | lab(35.25, 53.24, 13.59) |
| CIE-LCH | lch(35.25, 54.95, 14.32°) |
| OKLab | oklab(46.28% 0.1609 0.0337) |
| OKLCH | oklch(46.28% 0.164 11.8) |
| XYZ | xyz(15.6645, 8.6222, 5.6889) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.19
Rouge
#AB1239
ΔE00 3.54
Raspberry (survey)
#B00149
ΔE00 3.74
Purplish Red
#B0054B
ΔE00 4.01
Red Wine
#8C0034
ΔE00 5.02
Purple Red
#990147
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D40 #1D9F7C
analogous
#9F1D81 #9F1D40 #9F3B1D
triadic
#9F1D40 #409F1D #1D409F
tetradic
#9F1D40 #819F1D #1D9F7C #3B1D9F
square
#9F1D40 #819F1D #1D9F7C #3B1D9F
split-complementary
#9F1D40 #1D9F3B #1D819F
monochromatic
#370A16 #6B142B #9F1D40 #D32655 #E0567B
Accessibility & contrast
On white
7.71
#9F1D40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9F1D40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D40
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D40 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#645C3D
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1d40; /* rgb */ color: rgb(159, 29, 64); /* oklch */ color: oklch(46.3% 0.164 11.8);
Tailwind
colors: {
custom: {
50: '#c26874',
500: '#9f1d40',
950: '#000000',
},
}SCSS
$custom: #9f1d40; $custom-light: #c26874; $custom-dark: #000000;
JSON
{
"hex": "#9f1d40",
"rgb": {
"r": 159,
"g": 29,
"b": 64
},
"hsl": {
"h": 343.846,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.46281,
"c": 0.16438,
"h": 11.8
},
"luminance": 0.0862
}Semantic roles & 50–950 ramp
primary
#9F1D40
secondary
#54C4A6
accent
#ECBD3C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B