#9B1F45#9B1F45
#9B1F45 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.160 H 8.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9B1F45 |
|---|---|
| RGB | rgb(155, 31, 69) |
| HSL | hsl(342, 67%, 36%) |
| HSV | hsv(342, 80%, 61%) |
| CMYK | cmyk(0%, 80%, 55.5%, 39.2%) |
| CIE-LAB | lab(34.76, 51.89, 9.55) |
| CIE-LCH | lch(34.76, 52.77, 10.43°) |
| OKLab | oklab(45.82% 0.1578 0.0243) |
| OKLCH | oklch(45.82% 0.16 8.7) |
| XYZ | xyz(15.0832, 8.3804, 6.4524) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.03
Purple Red
#990147
ΔE00 3.62
Berry
#990F4B
ΔE00 3.68
Raspberry (survey)
#B00149
ΔE00 3.77
Purplish Red
#B0054B
ΔE00 3.82
Red Wine
#8C0034
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B1F45 #1F9B75
analogous
#9B1F83 #9B1F45 #9B371F
triadic
#9B1F45 #459B1F #1F459B
tetradic
#9B1F45 #839B1F #1F9B75 #371F9B
square
#9B1F45 #839B1F #1F9B75 #371F9B
split-complementary
#9B1F45 #1F9B37 #1F839B
monochromatic
#350B18 #68152E #9B1F45 #CE295C #DD5780
Accessibility & contrast
On white
7.85
#9B1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9B1F45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B1F45
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B1F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B1F45 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#AA0030
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9b1f45; /* rgb */ color: rgb(155, 31, 69); /* oklch */ color: oklch(45.8% 0.160 8.7);
Tailwind
colors: {
custom: {
50: '#bf6878',
500: '#9b1f45',
950: '#000000',
},
}SCSS
$custom: #9b1f45; $custom-light: #bf6878; $custom-dark: #000000;
JSON
{
"hex": "#9b1f45",
"rgb": {
"r": 155,
"g": 31,
"b": 69
},
"hsl": {
"h": 341.613,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.4582,
"c": 0.15969,
"h": 8.7
},
"luminance": 0.08378
}Semantic roles & 50–950 ramp
primary
#9B1F45
secondary
#55C1A0
accent
#EAB53E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B