#960402#960402
#960402 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.172 H 29.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #960402 |
|---|---|
| RGB | rgb(150, 4, 2) |
| HSL | hsl(1, 97%, 30%) |
| HSV | hsv(1, 99%, 59%) |
| CMYK | cmyk(0%, 97.3%, 98.7%, 41.2%) |
| CIE-LAB | lab(30.83, 53.34, 43.68) |
| CIE-LCH | lch(30.83, 68.94, 39.31°) |
| OKLab | oklab(42.43% 0.1499 0.084) |
| OKLCH | oklch(42.43% 0.172 29.3) |
| XYZ | xyz(12.6338, 6.5775, 0.6618) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Blood Red
#980002
ΔE00 0.41
Deep Red
#9A0200
ΔE00 0.86
Brick Red
#8F1402
ΔE00 1.78
Darkred
#8B0000
ΔE00 2.27
Indian Red
#850E04
ΔE00 3.22
Dark Red
#840000
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#960402 #029496
analogous
#96024A #960402 #964E02
triadic
#960402 #029604 #040296
tetradic
#960402 #4A9602 #029496 #4E0296
square
#960402 #4A9602 #029496 #4E0296
split-complementary
#960402 #02964E #024A96
monochromatic
#1E0100 #5A0201 #960402 #D20603 #FC1A17
Accessibility & contrast
On white
9.07
#960402 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#960402 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #960402
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##960402 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##960402 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#5E5300
Tritanopia (blue-blind)
#A60008
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #960402; /* rgb */ color: rgb(150, 4, 2); /* oklch */ color: oklch(42.4% 0.172 29.3);
Tailwind
colors: {
custom: {
50: '#c05e49',
500: '#960402',
950: '#000000',
},
}SCSS
$custom: #960402; $custom-light: #c05e49; $custom-dark: #000000;
JSON
{
"hex": "#960402",
"rgb": {
"r": 150,
"g": 4,
"b": 2
},
"hsl": {
"h": 0.811,
"s": 97.368,
"l": 29.804
},
"oklch": {
"l": 0.42433,
"c": 0.17183,
"h": 29.3
},
"luminance": 0.06575
}Semantic roles & 50–950 ramp
primary
#960402
secondary
#27CBCD
accent
#FCFF29
background
#FDF6F4
surface
#FAEBE7
border
#D3C6C3
text
#150501
muted
#837977