#9F1531#9F1531
#9F1531 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.5% C 0.169 H 17.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1531 |
|---|---|
| RGB | rgb(159, 21, 49) |
| HSL | hsl(348, 77%, 35%) |
| HSV | hsv(348, 87%, 62%) |
| CMYK | cmyk(0%, 86.8%, 69.2%, 37.6%) |
| CIE-LAB | lab(34.26, 54.32, 21.99) |
| CIE-LCH | lch(34.26, 58.60, 22.04°) |
| OKLab | oklab(45.45% 0.1612 0.0516) |
| OKLCH | oklch(45.45% 0.169 17.8) |
| XYZ | xyz(15.1224, 8.1314, 3.6784) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.73
Cranberry
#9E003A
ΔE00 4.45
Rose Red
#BE013C
ΔE00 5.84
Brown
#A52A2A
ΔE00 6.20
Red Wine
#8C0034
ΔE00 6.44
Burgundy
#800020
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1531 #159F83
analogous
#9F1576 #9F1531 #9F3E15
triadic
#9F1531 #319F15 #15319F
tetradic
#9F1531 #769F15 #159F83 #3E159F
square
#9F1531 #769F15 #159F83 #3E159F
split-complementary
#9F1531 #159F3E #15769F
monochromatic
#330710 #690E20 #9F1531 #D51C42 #E74868
Accessibility & contrast
On white
8.00
#9F1531 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#9F1531 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1531
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1531 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1531 | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423E31
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1531; /* rgb */ color: rgb(159, 21, 49); /* oklch */ color: oklch(45.5% 0.169 17.8);
Tailwind
colors: {
custom: {
50: '#c46568',
500: '#9f1531',
950: '#000000',
},
}SCSS
$custom: #9f1531; $custom-light: #c46568; $custom-dark: #000000;
JSON
{
"hex": "#9f1531",
"rgb": {
"r": 159,
"g": 21,
"b": 49
},
"hsl": {
"h": 347.826,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.45454,
"c": 0.16929,
"h": 17.8
},
"luminance": 0.08129
}Semantic roles & 50–950 ramp
primary
#9F1531
secondary
#48C8AE
accent
#F3CD35
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140606
muted
#837A7A