#942238#942238
#942238 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.5% C 0.149 H 15.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #942238 |
|---|---|
| RGB | rgb(148, 34, 56) |
| HSL | hsl(348, 63%, 36%) |
| HSV | hsv(348, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 62.2%, 42%) |
| CIE-LAB | lab(33.41, 47.91, 15.93) |
| CIE-LCH | lch(33.41, 50.49, 18.39°) |
| OKLab | oklab(44.47% 0.1437 0.0389) |
| OKLCH | oklch(44.47% 0.149 15.2) |
| XYZ | xyz(13.5000, 7.7275, 4.5213) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.44
Rouge
#AB1239
ΔE00 4.29
Red Wine
#8C0034
ΔE00 4.54
Burgundy
#800020
ΔE00 6.47
Raspberry (survey)
#B00149
ΔE00 6.58
Wine Red
#7B0323
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942238 #22947E
analogous
#942271 #942238 #944522
triadic
#942238 #389422 #223894
tetradic
#942238 #719422 #22947E #452294
square
#942238 #719422 #22947E #452294
split-complementary
#942238 #229445 #227194
monochromatic
#300B12 #621725 #942238 #C62D4B #D95871
Accessibility & contrast
On white
8.25
#942238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#942238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942238
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942238 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423F38
Deuteranopia (green-blind)
#5F5735
Tritanopia (blue-blind)
#A2002B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #942238; /* rgb */ color: rgb(148, 34, 56); /* oklch */ color: oklch(44.5% 0.149 15.2);
Tailwind
colors: {
custom: {
50: '#ba686e',
500: '#942238',
950: '#000000',
},
}SCSS
$custom: #942238; $custom-light: #ba686e; $custom-dark: #000000;
JSON
{
"hex": "#942238",
"rgb": {
"r": 148,
"g": 34,
"b": 56
},
"hsl": {
"h": 348.421,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.44471,
"c": 0.14884,
"h": 15.2
},
"luminance": 0.07725
}Semantic roles & 50–950 ramp
primary
#942238
secondary
#55BDA9
accent
#E6C642
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A