#9A1B46#9A1B46
#9A1B46 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.162 H 7.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1B46 |
|---|---|
| RGB | rgb(154, 27, 70) |
| HSL | hsl(340, 70%, 35%) |
| HSV | hsv(340, 82%, 60%) |
| CMYK | cmyk(0%, 82.5%, 54.5%, 39.6%) |
| CIE-LAB | lab(34.19, 52.83, 8.06) |
| CIE-LCH | lch(34.19, 53.44, 8.68°) |
| OKLab | oklab(45.37% 0.1611 0.0207) |
| OKLCH | oklch(45.37% 0.162 7.3) |
| XYZ | xyz(14.8253, 8.0982, 6.5756) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.65
Berry
#990F4B
ΔE00 2.71
Cranberry
#9E003A
ΔE00 3.39
Purplish Red
#B0054B
ΔE00 3.95
Raspberry (survey)
#B00149
ΔE00 3.98
Red Wine
#8C0034
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1B46 #1B9A6F
analogous
#9A1B85 #9A1B46 #9A2F1B
triadic
#9A1B46 #469A1B #1B469A
tetradic
#9A1B46 #859A1B #1B9A6F #2F1B9A
square
#9A1B46 #859A1B #1B9A6F #2F1B9A
split-complementary
#9A1B46 #1B9A2F #1B859A
monochromatic
#320917 #66122E #9A1B46 #CE245E #E04F80
Accessibility & contrast
On white
8.02
#9A1B46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#9A1B46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1B46
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1B46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1B46 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4047
Deuteranopia (green-blind)
#5F5943
Tritanopia (blue-blind)
#A8002E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1b46; /* rgb */ color: rgb(154, 27, 70); /* oklch */ color: oklch(45.4% 0.162 7.3);
Tailwind
colors: {
custom: {
50: '#be6679',
500: '#9a1b46',
950: '#000000',
},
}SCSS
$custom: #9a1b46; $custom-light: #be6679; $custom-dark: #000000;
JSON
{
"hex": "#9a1b46",
"rgb": {
"r": 154,
"g": 27,
"b": 70
},
"hsl": {
"h": 339.685,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.45368,
"c": 0.16242,
"h": 7.3
},
"luminance": 0.08096
}Semantic roles & 50–950 ramp
primary
#9A1B46
secondary
#4EC39B
accent
#EDB13B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B