#942836#942836
#942836 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.0% C 0.143 H 17.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #942836 |
|---|---|
| RGB | rgb(148, 40, 54) |
| HSL | hsl(352, 57%, 37%) |
| HSV | hsv(352, 73%, 58%) |
| CMYK | cmyk(0%, 73%, 63.5%, 42%) |
| CIE-LAB | lab(34.15, 45.59, 18.20) |
| CIE-LCH | lch(34.15, 49.09, 21.76°) |
| OKLab | oklab(45.01% 0.1359 0.044) |
| OKLCH | oklch(45.01% 0.143 17.9) |
| XYZ | xyz(13.6388, 8.0818, 4.3311) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.47
Cranberry
#9E003A
ΔE00 5.09
Red Wine
#8C0034
ΔE00 6.21
Burgundy
#800020
ΔE00 6.62
Brown
#A52A2A
ΔE00 6.68
Wine Red
#7B0323
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942836 #289486
analogous
#94286C #942836 #945028
triadic
#942836 #369428 #283694
tetradic
#942836 #6C9428 #289486 #502894
square
#942836 #6C9428 #289486 #502894
split-complementary
#942836 #289450 #286C94
monochromatic
#340E13 #641B24 #942836 #C43548 #D56271
Accessibility & contrast
On white
8.03
#942836 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#942836 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942836
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942836 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942836 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454236
Deuteranopia (green-blind)
#615933
Tritanopia (blue-blind)
#A2072E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942836; /* rgb */ color: rgb(148, 40, 54); /* oklch */ color: oklch(45.0% 0.143 17.9);
Tailwind
colors: {
custom: {
50: '#ba6a6c',
500: '#942836',
950: '#000000',
},
}SCSS
$custom: #942836; $custom-light: #ba6a6c; $custom-dark: #000000;
JSON
{
"hex": "#942836",
"rgb": {
"r": 148,
"g": 40,
"b": 54
},
"hsl": {
"h": 352.222,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.45011,
"c": 0.14279,
"h": 17.9
},
"luminance": 0.0808
}Semantic roles & 50–950 ramp
primary
#942836
secondary
#5EBAAE
accent
#E1CD47
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A