#B22338#B22338
#B22338 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.177 H 19.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B22338 |
|---|---|
| RGB | rgb(178, 35, 56) |
| HSL | hsl(351, 67%, 42%) |
| HSV | hsv(351, 80%, 70%) |
| CMYK | cmyk(0%, 80.3%, 68.5%, 30.2%) |
| CIE-LAB | lab(39.51, 56.54, 24.95) |
| CIE-LCH | lch(39.51, 61.80, 23.81°) |
| OKLab | oklab(50.06% 0.1672 0.0585) |
| OKLCH | oklch(50.06% 0.177 19.3) |
| XYZ | xyz(19.6772, 10.9556, 4.8192) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.14
Lipstick Red
#C0022F
ΔE00 3.22
Cardinal
#C41E3A
ΔE00 3.43
Rouge
#AB1239
ΔE00 3.54
Brown
#A52A2A
ΔE00 5.03
Cherry (survey)
#CF0234
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22338 #23B29D
analogous
#B22380 #B22338 #B25623
triadic
#B22338 #38B223 #2338B2
tetradic
#B22338 #80B223 #23B29D #5623B2
square
#B22338 #80B223 #23B29D #5623B2
split-complementary
#B22338 #23B256 #2380B2
monochromatic
#4C0F18 #7F1928 #B22338 #D83A51 #E26D7E
Accessibility & contrast
On white
6.58
#B22338 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B22338 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22338
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22338 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b22338; /* rgb */ color: rgb(178, 35, 56); /* oklch */ color: oklch(50.1% 0.177 19.3);
Tailwind
colors: {
custom: {
50: '#d16d6e',
500: '#b22338',
950: '#000000',
},
}SCSS
$custom: #b22338; $custom-light: #d16d6e; $custom-dark: #000000;
JSON
{
"hex": "#b22338",
"rgb": {
"r": 178,
"g": 35,
"b": 56
},
"hsl": {
"h": 351.189,
"s": 67.136,
"l": 41.765
},
"oklch": {
"l": 0.50057,
"c": 0.17715,
"h": 19.3
},
"luminance": 0.10953
}Semantic roles & 50–950 ramp
primary
#B22338
secondary
#68C9BA
accent
#EAD13E
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160807
muted
#847B7A