#942931#942931
#942931 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.0% C 0.142 H 21.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #942931 |
|---|---|
| RGB | rgb(148, 41, 49) |
| HSL | hsl(356, 57%, 37%) |
| HSV | hsv(356, 72%, 58%) |
| CMYK | cmyk(0%, 72.3%, 66.9%, 42%) |
| CIE-LAB | lab(34.20, 44.89, 21.45) |
| CIE-LCH | lch(34.20, 49.75, 25.54°) |
| OKLab | oklab(45.02% 0.1326 0.0509) |
| OKLCH | oklch(45.02% 0.142 21) |
| XYZ | xyz(13.5615, 8.1055, 3.7556) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 5.04
Rouge
#AB1239
ΔE00 5.32
Carmine
#9D0216
ΔE00 6.59
Burgundy
#800020
ΔE00 6.64
Cranberry
#9E003A
ΔE00 6.76
Wine Red
#7B0323
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942931 #29948C
analogous
#942967 #942931 #945729
triadic
#942931 #319429 #293194
tetradic
#942931 #679429 #29948C #572994
square
#942931 #679429 #29948C #572994
split-complementary
#942931 #299457 #296794
monochromatic
#340E11 #641C21 #942931 #C43641 #D4636C
Accessibility & contrast
On white
8.01
#942931 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#942931 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942931
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942931 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942931 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474230
Deuteranopia (green-blind)
#62592E
Tritanopia (blue-blind)
#A3062D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942931; /* rgb */ color: rgb(148, 41, 49); /* oklch */ color: oklch(45.0% 0.142 21.0);
Tailwind
colors: {
custom: {
50: '#ba6b69',
500: '#942931',
950: '#000000',
},
}SCSS
$custom: #942931; $custom-light: #ba6b69; $custom-dark: #000000;
JSON
{
"hex": "#942931",
"rgb": {
"r": 148,
"g": 41,
"b": 49
},
"hsl": {
"h": 355.514,
"s": 56.614,
"l": 37.059
},
"oklch": {
"l": 0.45017,
"c": 0.14198,
"h": 21
},
"luminance": 0.08104
}Semantic roles & 50–950 ramp
primary
#942931
secondary
#5FBAB3
accent
#E0D548
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130706
muted
#827A7A