#942838#942838
#942838 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.1% C 0.143 H 16.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #942838 |
|---|---|
| RGB | rgb(148, 40, 56) |
| HSL | hsl(351, 57%, 37%) |
| HSV | hsv(351, 73%, 58%) |
| CMYK | cmyk(0%, 73%, 62.2%, 42%) |
| CIE-LAB | lab(34.19, 45.73, 16.96) |
| CIE-LCH | lch(34.19, 48.77, 20.35°) |
| OKLab | oklab(45.05% 0.1367 0.0413) |
| OKLCH | oklch(45.05% 0.143 16.8) |
| XYZ | xyz(13.6867, 8.1010, 4.5836) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.37
Cranberry
#9E003A
ΔE00 4.60
Red Wine
#8C0034
ΔE00 5.76
Burgundy
#800020
ΔE00 6.81
Wine Red
#7B0323
ΔE00 7.14
Wine
#722F37
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942838 #289484
analogous
#94286E #942838 #944E28
triadic
#942838 #389428 #283894
tetradic
#942838 #6E9428 #289484 #4E2894
square
#942838 #6E9428 #289484 #4E2894
split-complementary
#942838 #28944E #286E94
monochromatic
#340E14 #641B26 #942838 #C4354A #D56273
Accessibility & contrast
On white
8.02
#942838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#942838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942838
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942838 | 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)
#454238
Deuteranopia (green-blind)
#605935
Tritanopia (blue-blind)
#A2082F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #942838; /* rgb */ color: rgb(148, 40, 56); /* oklch */ color: oklch(45.1% 0.143 16.8);
Tailwind
colors: {
custom: {
50: '#ba6a6e',
500: '#942838',
950: '#000000',
},
}SCSS
$custom: #942838; $custom-light: #ba6a6e; $custom-dark: #000000;
JSON
{
"hex": "#942838",
"rgb": {
"r": 148,
"g": 40,
"b": 56
},
"hsl": {
"h": 351.111,
"s": 57.447,
"l": 36.863
},
"oklch": {
"l": 0.45053,
"c": 0.14278,
"h": 16.8
},
"luminance": 0.08099
}Semantic roles & 50–950 ramp
primary
#942838
secondary
#5EBAAC
accent
#E1CA47
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A