#9A1B41#9A1B41
#9A1B41 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.162 H 10.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1B41 |
|---|---|
| RGB | rgb(154, 27, 65) |
| HSL | hsl(342, 70%, 35%) |
| HSV | hsv(342, 82%, 60%) |
| CMYK | cmyk(0%, 82.5%, 57.8%, 39.6%) |
| CIE-LAB | lab(34.06, 52.45, 11.15) |
| CIE-LCH | lch(34.06, 53.62, 12.00°) |
| OKLab | oklab(45.24% 0.1591 0.028) |
| OKLCH | oklch(45.24% 0.162 10) |
| XYZ | xyz(14.6740, 8.0377, 5.7788) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.16
Purple Red
#990147
ΔE00 3.95
Red Wine
#8C0034
ΔE00 4.06
Raspberry (survey)
#B00149
ΔE00 4.06
Purplish Red
#B0054B
ΔE00 4.22
Berry
#990F4B
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1B41 #1B9A74
analogous
#9A1B80 #9A1B41 #9A341B
triadic
#9A1B41 #419A1B #1B419A
tetradic
#9A1B41 #809A1B #1B9A74 #341B9A
square
#9A1B41 #809A1B #1B9A74 #341B9A
split-complementary
#9A1B41 #1B9A34 #1B809A
monochromatic
#320915 #66122B #9A1B41 #CE2457 #E04F7B
Accessibility & contrast
On white
8.05
#9A1B41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#9A1B41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1B41
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1B41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1B41 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4042
Deuteranopia (green-blind)
#60593E
Tritanopia (blue-blind)
#A9002C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1b41; /* rgb */ color: rgb(154, 27, 65); /* oklch */ color: oklch(45.2% 0.162 10.0);
Tailwind
colors: {
custom: {
50: '#be6675',
500: '#9a1b41',
950: '#000000',
},
}SCSS
$custom: #9a1b41; $custom-light: #be6675; $custom-dark: #000000;
JSON
{
"hex": "#9a1b41",
"rgb": {
"r": 154,
"g": 27,
"b": 65
},
"hsl": {
"h": 342.047,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.45235,
"c": 0.16158,
"h": 10
},
"luminance": 0.08036
}Semantic roles & 50–950 ramp
primary
#9A1B41
secondary
#4EC3A0
accent
#EDB83B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B