#942227#942227
#942227 is a dark, vivid red. Relative luminance 0.076; OKLCH L 44.2% C 0.150 H 23.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #942227 |
|---|---|
| RGB | rgb(148, 34, 39) |
| HSL | hsl(357, 63%, 36%) |
| HSV | hsv(357, 77%, 58%) |
| CMYK | cmyk(0%, 77%, 73.6%, 42%) |
| CIE-LAB | lab(33.11, 46.93, 26.42) |
| CIE-LCH | lch(33.11, 53.86, 29.37°) |
| OKLab | oklab(44.15% 0.1369 0.0602) |
| OKLCH | oklch(44.15% 0.15 23.8) |
| XYZ | xyz(13.1525, 7.5885, 2.6912) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.07
Carmine
#9D0216
ΔE00 4.16
Crimson (survey)
#8C000F
ΔE00 5.30
Burgundy
#800020
ΔE00 6.45
Firebrick
#B22222
ΔE00 6.80
Rouge
#AB1239
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942227 #22948F
analogous
#942260 #942227 #945622
triadic
#942227 #279422 #222794
tetradic
#942227 #609422 #22948F #562294
square
#942227 #609422 #22948F #562294
split-complementary
#942227 #229456 #226094
monochromatic
#300B0D #62171A #942227 #C62D34 #D9585D
Accessibility & contrast
On white
8.34
#942227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#942227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942227
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942227 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E26
Deuteranopia (green-blind)
#605723
Tritanopia (blue-blind)
#A30025
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #942227; /* rgb */ color: rgb(148, 34, 39); /* oklch */ color: oklch(44.2% 0.150 23.8);
Tailwind
colors: {
custom: {
50: '#bb6761',
500: '#942227',
950: '#000000',
},
}SCSS
$custom: #942227; $custom-light: #bb6761; $custom-dark: #000000;
JSON
{
"hex": "#942227",
"rgb": {
"r": 148,
"g": 34,
"b": 39
},
"hsl": {
"h": 357.368,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.44154,
"c": 0.14951,
"h": 23.8
},
"luminance": 0.07586
}Semantic roles & 50–950 ramp
primary
#942227
secondary
#55BDB8
accent
#E6DF42
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130705
muted
#827A79