#9F1B45#9F1B45
#9F1B45 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.167 H 9.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B45 |
|---|---|
| RGB | rgb(159, 27, 69) |
| HSL | hsl(341, 71%, 36%) |
| HSV | hsv(341, 83%, 62%) |
| CMYK | cmyk(0%, 83%, 56.6%, 37.6%) |
| CIE-LAB | lab(35.18, 54.14, 10.25) |
| CIE-LCH | lch(35.18, 55.10, 10.72°) |
| OKLab | oklab(46.27% 0.1646 0.0259) |
| OKLCH | oklch(46.27% 0.167 9) |
| XYZ | xyz(15.7657, 8.5868, 6.4563) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.76
Raspberry (survey)
#B00149
ΔE00 3.04
Purplish Red
#B0054B
ΔE00 3.12
Purple Red
#990147
ΔE00 3.76
Berry
#990F4B
ΔE00 3.89
Red Wine
#8C0034
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B45 #1B9F75
analogous
#9F1B87 #9F1B45 #9F331B
triadic
#9F1B45 #459F1B #1B459F
tetradic
#9F1B45 #879F1B #1B9F75 #331B9F
square
#9F1B45 #879F1B #1B9F75 #331B9F
split-complementary
#9F1B45 #1B9F33 #1B879F
monochromatic
#360918 #6B122E #9F1B45 #D3245C #E25380
Accessibility & contrast
On white
7.73
#9F1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9F1B45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B45
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B45 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1b45; /* rgb */ color: rgb(159, 27, 69); /* oklch */ color: oklch(46.3% 0.167 9.0);
Tailwind
colors: {
custom: {
50: '#c26778',
500: '#9f1b45',
950: '#000000',
},
}SCSS
$custom: #9f1b45; $custom-light: #c26778; $custom-dark: #000000;
JSON
{
"hex": "#9f1b45",
"rgb": {
"r": 159,
"g": 27,
"b": 69
},
"hsl": {
"h": 340.909,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.46268,
"c": 0.16664,
"h": 9
},
"luminance": 0.08584
}Semantic roles & 50–950 ramp
primary
#9F1B45
secondary
#51C5A0
accent
#EEB53A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B