#9A1940#9A1940
#9A1940 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.163 H 10.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1940 |
|---|---|
| RGB | rgb(154, 25, 64) |
| HSL | hsl(342, 72%, 35%) |
| HSV | hsv(342, 84%, 60%) |
| CMYK | cmyk(0%, 83.8%, 58.4%, 39.6%) |
| CIE-LAB | lab(33.85, 52.90, 11.52) |
| CIE-LCH | lch(33.85, 54.14, 12.28°) |
| OKLab | oklab(45.07% 0.1604 0.0289) |
| OKLCH | oklch(45.07% 0.163 10.2) |
| XYZ | xyz(14.6009, 7.9376, 5.6128) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.92
Red Wine
#8C0034
ΔE00 3.87
Purple Red
#990147
ΔE00 3.99
Raspberry (survey)
#B00149
ΔE00 4.11
Purplish Red
#B0054B
ΔE00 4.29
Berry
#990F4B
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1940 #199A73
analogous
#9A1981 #9A1940 #9A3219
triadic
#9A1940 #409A19 #19409A
tetradic
#9A1940 #819A19 #199A73 #32199A
square
#9A1940 #819A19 #199A73 #32199A
split-complementary
#9A1940 #199A32 #19819A
monochromatic
#310814 #65102A #9A1940 #CF2256 #E24C79
Accessibility & contrast
On white
8.12
#9A1940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#9A1940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1940
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1940 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3F41
Deuteranopia (green-blind)
#5F593D
Tritanopia (blue-blind)
#A9002B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1940; /* rgb */ color: rgb(154, 25, 64); /* oklch */ color: oklch(45.1% 0.163 10.2);
Tailwind
colors: {
custom: {
50: '#be6674',
500: '#9a1940',
950: '#000000',
},
}SCSS
$custom: #9a1940; $custom-light: #be6674; $custom-dark: #000000;
JSON
{
"hex": "#9a1940",
"rgb": {
"r": 154,
"g": 25,
"b": 64
},
"hsl": {
"h": 341.86,
"s": 72.067,
"l": 35.098
},
"oklch": {
"l": 0.45074,
"c": 0.16302,
"h": 10.2
},
"luminance": 0.07935
}Semantic roles & 50–950 ramp
primary
#9A1940
secondary
#4BC49F
accent
#EFB839
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130608
muted
#827A7B