#9A1F28#9A1F28
#9A1F28 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.158 H 23.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F28 |
|---|---|
| RGB | rgb(154, 31, 40) |
| HSL | hsl(356, 66%, 36%) |
| HSV | hsv(356, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 74%, 39.6%) |
| CIE-LAB | lab(33.99, 49.82, 27.13) |
| CIE-LCH | lch(33.99, 56.73, 28.57°) |
| OKLab | oklab(45.03% 0.1455 0.0617) |
| OKLCH | oklch(45.03% 0.158 23) |
| XYZ | xyz(14.2011, 8.0054, 2.8045) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.46
Carmine
#9D0216
ΔE00 4.04
Crimson (survey)
#8C000F
ΔE00 5.83
Rouge
#AB1239
ΔE00 5.98
Firebrick
#B22222
ΔE00 6.13
Lipstick Red
#C0022F
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F28 #1F9A91
analogous
#9A1F66 #9A1F28 #9A541F
triadic
#9A1F28 #289A1F #1F289A
tetradic
#9A1F28 #669A1F #1F9A91 #541F9A
square
#9A1F28 #669A1F #1F9A91 #541F9A
split-complementary
#9A1F28 #1F9A54 #1F669A
monochromatic
#340A0E #67151B #9A1F28 #CD2935 #DD5660
Accessibility & contrast
On white
8.08
#9A1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#9A1F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F28
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F28 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453F27
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#AA0024
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1f28; /* rgb */ color: rgb(154, 31, 40); /* oklch */ color: oklch(45.0% 0.158 23.0);
Tailwind
colors: {
custom: {
50: '#c06762',
500: '#9a1f28',
950: '#000000',
},
}SCSS
$custom: #9a1f28; $custom-light: #c06762; $custom-dark: #000000;
JSON
{
"hex": "#9a1f28",
"rgb": {
"r": 154,
"g": 31,
"b": 40
},
"hsl": {
"h": 355.61,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45032,
"c": 0.15799,
"h": 23
},
"luminance": 0.08003
}Semantic roles & 50–950 ramp
primary
#9A1F28
secondary
#54C1B9
accent
#E9DD3E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79