#9A1A40#9A1A40
#9A1A40 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.162 H 10.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1A40 |
|---|---|
| RGB | rgb(154, 26, 64) |
| HSL | hsl(342, 71%, 35%) |
| HSV | hsv(342, 83%, 60%) |
| CMYK | cmyk(0%, 83.1%, 58.4%, 39.6%) |
| CIE-LAB | lab(33.94, 52.64, 11.64) |
| CIE-LCH | lch(33.94, 53.91, 12.47°) |
| OKLab | oklab(45.14% 0.1596 0.0292) |
| OKLCH | oklch(45.14% 0.162 10.4) |
| XYZ | xyz(14.6227, 7.9812, 5.6200) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.95
Red Wine
#8C0034
ΔE00 3.93
Purple Red
#990147
ΔE00 4.11
Raspberry (survey)
#B00149
ΔE00 4.13
Purplish Red
#B0054B
ΔE00 4.32
Berry
#990F4B
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1A40 #1A9A74
analogous
#9A1A80 #9A1A40 #9A341A
triadic
#9A1A40 #409A1A #1A409A
tetradic
#9A1A40 #809A1A #1A9A74 #341A9A
square
#9A1A40 #809A1A #1A9A74 #341A9A
split-complementary
#9A1A40 #1A9A34 #1A809A
monochromatic
#310814 #66112A #9A1A40 #CE2356 #E14D79
Accessibility & contrast
On white
8.09
#9A1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#9A1A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1A40
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1A40 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3F41
Deuteranopia (green-blind)
#60593D
Tritanopia (blue-blind)
#A9002B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1a40; /* rgb */ color: rgb(154, 26, 64); /* oklch */ color: oklch(45.1% 0.162 10.4);
Tailwind
colors: {
custom: {
50: '#be6674',
500: '#9a1a40',
950: '#000000',
},
}SCSS
$custom: #9a1a40; $custom-light: #be6674; $custom-dark: #000000;
JSON
{
"hex": "#9a1a40",
"rgb": {
"r": 154,
"g": 26,
"b": 64
},
"hsl": {
"h": 342.188,
"s": 71.111,
"l": 35.294
},
"oklch": {
"l": 0.45141,
"c": 0.16224,
"h": 10.4
},
"luminance": 0.07979
}Semantic roles & 50–950 ramp
primary
#9A1A40
secondary
#4DC3A0
accent
#EEB83A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B