#9F1F4B#9F1F4B
#9F1F4B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.164 H 6.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F4B |
|---|---|
| RGB | rgb(159, 31, 75) |
| HSL | hsl(339, 67%, 37%) |
| HSV | hsv(339, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 52.8%, 37.6%) |
| CIE-LAB | lab(35.72, 53.51, 7.11) |
| CIE-LCH | lch(35.72, 53.98, 7.57°) |
| OKLab | oklab(46.72% 0.1634 0.0184) |
| OKLCH | oklch(46.72% 0.164 6.4) |
| XYZ | xyz(16.0595, 8.8612, 7.5200) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.90
Purplish Red
#B0054B
ΔE00 3.15
Purple Red
#990147
ΔE00 3.20
Raspberry (survey)
#B00149
ΔE00 3.32
Violet Red
#A50055
ΔE00 4.12
Cranberry
#9E003A
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F4B #1F9F73
analogous
#9F1F8B #9F1F4B #9F331F
triadic
#9F1F4B #4B9F1F #1F4B9F
tetradic
#9F1F4B #8B9F1F #1F9F73 #331F9F
square
#9F1F4B #8B9F1F #1F9F73 #331F9F
split-complementary
#9F1F4B #1F9F33 #1F8B9F
monochromatic
#390B1B #6C1533 #9F1F4B #D22963 #DF5A87
Accessibility & contrast
On white
7.58
#9F1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9F1F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F4B
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F4B | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41444C
Deuteranopia (green-blind)
#625D48
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1f4b; /* rgb */ color: rgb(159, 31, 75); /* oklch */ color: oklch(46.7% 0.164 6.4);
Tailwind
colors: {
custom: {
50: '#c1697d',
500: '#9f1f4b',
950: '#000000',
},
}SCSS
$custom: #9f1f4b; $custom-light: #c1697d; $custom-dark: #000000;
JSON
{
"hex": "#9f1f4b",
"rgb": {
"r": 159,
"g": 31,
"b": 75
},
"hsl": {
"h": 339.375,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46715,
"c": 0.16443,
"h": 6.4
},
"luminance": 0.08859
}Semantic roles & 50–950 ramp
primary
#9F1F4B
secondary
#57C39E
accent
#EAAF3E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B