#9A1F3E#9A1F3E
#9A1F3E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.158 H 12.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F3E |
|---|---|
| RGB | rgb(154, 31, 62) |
| HSL | hsl(345, 66%, 36%) |
| HSV | hsv(345, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 59.7%, 39.6%) |
| CIE-LAB | lab(34.40, 51.09, 13.56) |
| CIE-LCH | lch(34.40, 52.86, 14.87°) |
| OKLab | oklab(45.46% 0.1542 0.0336) |
| OKLCH | oklch(45.46% 0.158 12.3) |
| XYZ | xyz(14.6874, 8.2000, 5.3659) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.22
Rouge
#AB1239
ΔE00 3.99
Red Wine
#8C0034
ΔE00 4.40
Raspberry (survey)
#B00149
ΔE00 4.64
Purplish Red
#B0054B
ΔE00 4.89
Purple Red
#990147
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F3E #1F9A7B
analogous
#9A1F7C #9A1F3E #9A3E1F
triadic
#9A1F3E #3E9A1F #1F3E9A
tetradic
#9A1F3E #7C9A1F #1F9A7B #3E1F9A
square
#9A1F3E #7C9A1F #1F9A7B #3E1F9A
split-complementary
#9A1F3E #1F9A3E #1F7C9A
monochromatic
#340A15 #671529 #9A1F3E #CD2953 #DD5678
Accessibility & contrast
On white
7.96
#9A1F3E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9A1F3E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F3E
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F3E | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42413E
Deuteranopia (green-blind)
#615A3B
Tritanopia (blue-blind)
#A9002C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9a1f3e; /* rgb */ color: rgb(154, 31, 62); /* oklch */ color: oklch(45.5% 0.158 12.3);
Tailwind
colors: {
custom: {
50: '#be6873',
500: '#9a1f3e',
950: '#000000',
},
}SCSS
$custom: #9a1f3e; $custom-light: #be6873; $custom-dark: #000000;
JSON
{
"hex": "#9a1f3e",
"rgb": {
"r": 154,
"g": 31,
"b": 62
},
"hsl": {
"h": 344.878,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45459,
"c": 0.15784,
"h": 12.3
},
"luminance": 0.08198
}Semantic roles & 50–950 ramp
primary
#9A1F3E
secondary
#54C1A5
accent
#E9BE3E
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B