#942731#942731
#942731 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.8% C 0.144 H 20.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #942731 |
|---|---|
| RGB | rgb(148, 39, 49) |
| HSL | hsl(354, 58%, 37%) |
| HSV | hsv(354, 74%, 58%) |
| CMYK | cmyk(0%, 73.6%, 66.9%, 42%) |
| CIE-LAB | lab(33.92, 45.66, 21.10) |
| CIE-LCH | lch(33.92, 50.30, 24.80°) |
| OKLab | oklab(44.81% 0.135 0.0501) |
| OKLCH | oklch(44.81% 0.144 20.3) |
| XYZ | xyz(13.4941, 7.9707, 3.7331) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 5.05
Brown
#A52A2A
ΔE00 5.38
Cranberry
#9E003A
ΔE00 6.31
Burgundy
#800020
ΔE00 6.34
Carmine
#9D0216
ΔE00 6.74
Wine Red
#7B0323
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942731 #27948A
analogous
#942768 #942731 #945327
triadic
#942731 #319427 #273194
tetradic
#942731 #689427 #27948A #532794
square
#942731 #689427 #27948A #532794
split-complementary
#942731 #279453 #276894
monochromatic
#330D11 #641A21 #942731 #C43441 #D5606B
Accessibility & contrast
On white
8.10
#942731 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#942731 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942731
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942731 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454131
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#A3012C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942731; /* rgb */ color: rgb(148, 39, 49); /* oklch */ color: oklch(44.8% 0.144 20.3);
Tailwind
colors: {
custom: {
50: '#ba6a69',
500: '#942731',
950: '#000000',
},
}SCSS
$custom: #942731; $custom-light: #ba6a69; $custom-dark: #000000;
JSON
{
"hex": "#942731",
"rgb": {
"r": 148,
"g": 39,
"b": 49
},
"hsl": {
"h": 354.495,
"s": 58.289,
"l": 36.667
},
"oklch": {
"l": 0.44809,
"c": 0.144,
"h": 20.3
},
"luminance": 0.07969
}Semantic roles & 50–950 ramp
primary
#942731
secondary
#5CBBB2
accent
#E2D346
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A