#942831#942831
#942831 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.143 H 20.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #942831 |
|---|---|
| RGB | rgb(148, 40, 49) |
| HSL | hsl(355, 57%, 37%) |
| HSV | hsv(355, 73%, 58%) |
| CMYK | cmyk(0%, 73%, 66.9%, 42%) |
| CIE-LAB | lab(34.06, 45.28, 21.27) |
| CIE-LCH | lch(34.06, 50.02, 25.17°) |
| OKLab | oklab(44.91% 0.1338 0.0505) |
| OKLCH | oklch(44.91% 0.143 20.7) |
| XYZ | xyz(13.5273, 8.0372, 3.7442) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 5.18
Brown
#A52A2A
ΔE00 5.21
Burgundy
#800020
ΔE00 6.49
Cranberry
#9E003A
ΔE00 6.53
Carmine
#9D0216
ΔE00 6.66
Wine Red
#7B0323
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942831 #28948B
analogous
#942867 #942831 #945528
triadic
#942831 #319428 #283194
tetradic
#942831 #679428 #28948B #552894
square
#942831 #679428 #28948B #552894
split-complementary
#942831 #289455 #286794
monochromatic
#340E11 #641B21 #942831 #C43541 #D5626B
Accessibility & contrast
On white
8.06
#942831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#942831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942831
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942831 | 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)
#464131
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#A3042C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942831; /* rgb */ color: rgb(148, 40, 49); /* oklch */ color: oklch(44.9% 0.143 20.7);
Tailwind
colors: {
custom: {
50: '#ba6a69',
500: '#942831',
950: '#000000',
},
}SCSS
$custom: #942831; $custom-light: #ba6a69; $custom-dark: #000000;
JSON
{
"hex": "#942831",
"rgb": {
"r": 148,
"g": 40,
"b": 49
},
"hsl": {
"h": 355,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.44912,
"c": 0.143,
"h": 20.7
},
"luminance": 0.08035
}Semantic roles & 50–950 ramp
primary
#942831
secondary
#5EBAB2
accent
#E1D447
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A