#9A1F3D#9A1F3D
#9A1F3D is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.158 H 12.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F3D |
|---|---|
| RGB | rgb(154, 31, 61) |
| HSL | hsl(345, 66%, 36%) |
| HSV | hsv(345, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 60.4%, 39.6%) |
| CIE-LAB | lab(34.37, 51.02, 14.18) |
| CIE-LCH | lch(34.37, 52.95, 15.54°) |
| OKLab | oklab(45.43% 0.1538 0.035) |
| OKLCH | oklch(45.43% 0.158 12.8) |
| XYZ | xyz(14.6602, 8.1891, 5.2227) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.28
Rouge
#AB1239
ΔE00 3.78
Red Wine
#8C0034
ΔE00 4.46
Raspberry (survey)
#B00149
ΔE00 4.83
Purplish Red
#B0054B
ΔE00 5.10
Purple Red
#990147
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F3D #1F9A7C
analogous
#9A1F7B #9A1F3D #9A3F1F
triadic
#9A1F3D #3D9A1F #1F3D9A
tetradic
#9A1F3D #7B9A1F #1F9A7C #3F1F9A
square
#9A1F3D #7B9A1F #1F9A7C #3F1F9A
split-complementary
#9A1F3D #1F9A3F #1F7B9A
monochromatic
#340A15 #671529 #9A1F3D #CD2951 #DD5677
Accessibility & contrast
On white
7.96
#9A1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9A1F3D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F3D
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F3D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F3D | 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)
#42413D
Deuteranopia (green-blind)
#615A3A
Tritanopia (blue-blind)
#A9002C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9a1f3d; /* rgb */ color: rgb(154, 31, 61); /* oklch */ color: oklch(45.4% 0.158 12.8);
Tailwind
colors: {
custom: {
50: '#be6872',
500: '#9a1f3d',
950: '#000000',
},
}SCSS
$custom: #9a1f3d; $custom-light: #be6872; $custom-dark: #000000;
JSON
{
"hex": "#9a1f3d",
"rgb": {
"r": 154,
"g": 31,
"b": 61
},
"hsl": {
"h": 345.366,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45435,
"c": 0.15776,
"h": 12.8
},
"luminance": 0.08187
}Semantic roles & 50–950 ramp
primary
#9A1F3D
secondary
#54C1A6
accent
#E9C03E
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A