#9A1F2C#9A1F2C
#9A1F2C is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.1% C 0.158 H 21.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1F2C |
|---|---|
| RGB | rgb(154, 31, 44) |
| HSL | hsl(354, 66%, 36%) |
| HSV | hsv(354, 80%, 60%) |
| CMYK | cmyk(0%, 79.9%, 71.4%, 39.6%) |
| CIE-LAB | lab(34.05, 50.01, 24.70) |
| CIE-LCH | lch(34.05, 55.78, 26.28°) |
| OKLab | oklab(45.1% 0.147 0.0571) |
| OKLCH | oklch(45.1% 0.158 21.2) |
| XYZ | xyz(14.2727, 8.0341, 3.1816) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.29
Rouge
#AB1239
ΔE00 4.86
Carmine
#9D0216
ΔE00 5.23
Burgundy
#800020
ΔE00 6.56
Cranberry
#9E003A
ΔE00 6.82
Crimson (survey)
#8C000F
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1F2C #1F9A8D
analogous
#9A1F6A #9A1F2C #9A501F
triadic
#9A1F2C #2C9A1F #1F2C9A
tetradic
#9A1F2C #6A9A1F #1F9A8D #501F9A
square
#9A1F2C #6A9A1F #1F9A8D #501F9A
split-complementary
#9A1F2C #1F9A50 #1F6A9A
monochromatic
#340A0F #67151D #9A1F2C #CD293B #DD5665
Accessibility & contrast
On white
8.06
#9A1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#9A1F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1F2C
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1F2C | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443F2B
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#AA0025
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9a1f2c; /* rgb */ color: rgb(154, 31, 44); /* oklch */ color: oklch(45.1% 0.158 21.2);
Tailwind
colors: {
custom: {
50: '#c06765',
500: '#9a1f2c',
950: '#000000',
},
}SCSS
$custom: #9a1f2c; $custom-light: #c06765; $custom-dark: #000000;
JSON
{
"hex": "#9a1f2c",
"rgb": {
"r": 154,
"g": 31,
"b": 44
},
"hsl": {
"h": 353.659,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45096,
"c": 0.15767,
"h": 21.2
},
"luminance": 0.08032
}Semantic roles & 50–950 ramp
primary
#9A1F2C
secondary
#54C1B5
accent
#E9D73E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140705
muted
#827A7A