#9A1F2B#9A1F2B
#9A1F2B is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.1% C 0.158 H 21.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F2B |
|---|---|
| RGB | rgb(154, 31, 43) |
| HSL | hsl(354, 66%, 36%) |
| HSV | hsv(354, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 72.1%, 39.6%) |
| CIE-LAB | lab(34.04, 49.96, 25.31) |
| CIE-LCH | lch(34.04, 56.01, 26.86°) |
| OKLab | oklab(45.08% 0.1466 0.0583) |
| OKLCH | oklch(45.08% 0.158 21.7) |
| XYZ | xyz(14.2541, 8.0266, 3.0838) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.06
Carmine
#9D0216
ΔE00 4.92
Rouge
#AB1239
ΔE00 5.13
Crimson (survey)
#8C000F
ΔE00 6.56
Burgundy
#800020
ΔE00 6.64
Firebrick
#B22222
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F2B #1F9A8E
analogous
#9A1F69 #9A1F2B #9A511F
triadic
#9A1F2B #2B9A1F #1F2B9A
tetradic
#9A1F2B #699A1F #1F9A8E #511F9A
square
#9A1F2B #699A1F #1F9A8E #511F9A
split-complementary
#9A1F2B #1F9A51 #1F699A
monochromatic
#340A0F #67151D #9A1F2B #CD2939 #DD5663
Accessibility & contrast
On white
8.06
#9A1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#9A1F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F2B
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F2B | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453F2A
Deuteranopia (green-blind)
#635927
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1f2b; /* rgb */ color: rgb(154, 31, 43); /* oklch */ color: oklch(45.1% 0.158 21.7);
Tailwind
colors: {
custom: {
50: '#c06764',
500: '#9a1f2b',
950: '#000000',
},
}SCSS
$custom: #9a1f2b; $custom-light: #c06764; $custom-dark: #000000;
JSON
{
"hex": "#9a1f2b",
"rgb": {
"r": 154,
"g": 31,
"b": 43
},
"hsl": {
"h": 354.146,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45079,
"c": 0.15774,
"h": 21.7
},
"luminance": 0.08024
}Semantic roles & 50–950 ramp
primary
#9A1F2B
secondary
#54C1B6
accent
#E9D93E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79