#9A1F29#9A1F29
#9A1F29 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.158 H 22.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F29 |
|---|---|
| RGB | rgb(154, 31, 41) |
| HSL | hsl(355, 66%, 36%) |
| HSV | hsv(355, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 73.4%, 39.6%) |
| CIE-LAB | lab(34.01, 49.87, 26.53) |
| CIE-LCH | lch(34.01, 56.49, 28.01°) |
| OKLab | oklab(45.05% 0.1458 0.0605) |
| OKLCH | oklch(45.05% 0.158 22.5) |
| XYZ | xyz(14.2183, 8.0123, 2.8953) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.64
Carmine
#9D0216
ΔE00 4.32
Rouge
#AB1239
ΔE00 5.69
Crimson (survey)
#8C000F
ΔE00 6.07
Firebrick
#B22222
ΔE00 6.34
Burgundy
#800020
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F29 #1F9A90
analogous
#9A1F67 #9A1F29 #9A531F
triadic
#9A1F29 #299A1F #1F299A
tetradic
#9A1F29 #679A1F #1F9A90 #531F9A
square
#9A1F29 #679A1F #1F9A90 #531F9A
split-complementary
#9A1F29 #1F9A53 #1F679A
monochromatic
#340A0E #67151B #9A1F29 #CD2937 #DD5661
Accessibility & contrast
On white
8.07
#9A1F29 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#9A1F29 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F29
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F29 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453F28
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#AA0024
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1f29; /* rgb */ color: rgb(154, 31, 41); /* oklch */ color: oklch(45.0% 0.158 22.5);
Tailwind
colors: {
custom: {
50: '#c06762',
500: '#9a1f29',
950: '#000000',
},
}SCSS
$custom: #9a1f29; $custom-light: #c06762; $custom-dark: #000000;
JSON
{
"hex": "#9a1f29",
"rgb": {
"r": 154,
"g": 31,
"b": 41
},
"hsl": {
"h": 355.122,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45048,
"c": 0.15789,
"h": 22.5
},
"luminance": 0.0801
}Semantic roles & 50–950 ramp
primary
#9A1F29
secondary
#54C1B8
accent
#E9DC3E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79