#942837#942837
#942837 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.0% C 0.143 H 17.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #942837 |
|---|---|
| RGB | rgb(148, 40, 55) |
| HSL | hsl(352, 57%, 37%) |
| HSV | hsv(352, 73%, 58%) |
| CMYK | cmyk(0%, 73%, 62.8%, 42%) |
| CIE-LAB | lab(34.17, 45.66, 17.58) |
| CIE-LCH | lch(34.17, 48.93, 21.06°) |
| OKLab | oklab(45.03% 0.1363 0.0427) |
| OKLCH | oklch(45.03% 0.143 17.4) |
| XYZ | xyz(13.6625, 8.0913, 4.4560) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.41
Cranberry
#9E003A
ΔE00 4.83
Red Wine
#8C0034
ΔE00 5.98
Burgundy
#800020
ΔE00 6.70
Brown
#A52A2A
ΔE00 7.00
Wine Red
#7B0323
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942837 #289485
analogous
#94286D #942837 #944F28
triadic
#942837 #379428 #283794
tetradic
#942837 #6D9428 #289485 #4F2894
square
#942837 #6D9428 #289485 #4F2894
split-complementary
#942837 #28944F #286D94
monochromatic
#340E13 #641B25 #942837 #C43549 #D56272
Accessibility & contrast
On white
8.02
#942837 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#942837 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942837
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942837 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454237
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#A2072E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942837; /* rgb */ color: rgb(148, 40, 55); /* oklch */ color: oklch(45.0% 0.143 17.4);
Tailwind
colors: {
custom: {
50: '#ba6a6d',
500: '#942837',
950: '#000000',
},
}SCSS
$custom: #942837; $custom-light: #ba6a6d; $custom-dark: #000000;
JSON
{
"hex": "#942837",
"rgb": {
"r": 148,
"g": 40,
"b": 55
},
"hsl": {
"h": 351.667,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.45031,
"c": 0.14278,
"h": 17.4
},
"luminance": 0.08089
}Semantic roles & 50–950 ramp
primary
#942837
secondary
#5EBAAD
accent
#E1CB47
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A