#B22830#B22830
#B22830 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.174 H 23.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B22830 |
|---|---|
| RGB | rgb(178, 40, 48) |
| HSL | hsl(357, 63%, 43%) |
| HSV | hsv(357, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 73%, 30.2%) |
| CIE-LAB | lab(39.91, 54.67, 30.35) |
| CIE-LCH | lch(39.91, 62.53, 29.04°) |
| OKLab | oklab(50.32% 0.1595 0.069) |
| OKLCH | oklch(50.32% 0.174 23.4) |
| XYZ | xyz(19.6547, 11.1990, 3.9225) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.82
Lipstick Red
#C0022F
ΔE00 3.16
Firebrick
#B22222
ΔE00 3.45
Cardinal
#C41E3A
ΔE00 4.19
Dull Red
#BB3F3F
ΔE00 4.80
Scarlet
#BE0119
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22830 #28B2AA
analogous
#B22875 #B22830 #B26528
triadic
#B22830 #30B228 #2830B2
tetradic
#B22830 #75B228 #28B2AA #6528B2
square
#B22830 #75B228 #28B2AA #6528B2
split-complementary
#B22830 #28B265 #2875B2
monochromatic
#4E1215 #801D23 #B22830 #D5434B #E0757B
Accessibility & contrast
On white
6.48
#B22830 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B22830 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22830
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22830 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22830 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#C4002D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b22830; /* rgb */ color: rgb(178, 40, 48); /* oklch */ color: oklch(50.3% 0.174 23.4);
Tailwind
colors: {
custom: {
50: '#d26e68',
500: '#b22830',
950: '#000000',
},
}SCSS
$custom: #b22830; $custom-light: #d26e68; $custom-dark: #000000;
JSON
{
"hex": "#b22830",
"rgb": {
"r": 178,
"g": 40,
"b": 48
},
"hsl": {
"h": 356.522,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.50321,
"c": 0.17374,
"h": 23.4
},
"luminance": 0.11196
}Semantic roles & 50–950 ramp
primary
#B22830
secondary
#6FC7C2
accent
#E6DD41
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A