#B22845#B22845
#B22845 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.7% C 0.173 H 14.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B22845 |
|---|---|
| RGB | rgb(178, 40, 69) |
| HSL | hsl(347, 63%, 43%) |
| HSV | hsv(347, 78%, 70%) |
| CMYK | cmyk(0%, 77.5%, 61.2%, 30.2%) |
| CIE-LAB | lab(40.27, 55.81, 17.79) |
| CIE-LCH | lch(40.27, 58.58, 17.68°) |
| OKLab | oklab(50.7% 0.1676 0.0435) |
| OKLCH | oklch(50.7% 0.173 14.6) |
| XYZ | xyz(20.1952, 11.4152, 6.7690) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.14
Rouge
#AB1239
ΔE00 3.32
Ruby
#CA0147
ΔE00 4.15
Raspberry (survey)
#B00149
ΔE00 5.00
Cardinal
#C41E3A
ΔE00 5.24
Purplish Red
#B0054B
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22845 #28B295
analogous
#B2288A #B22845 #B25028
triadic
#B22845 #45B228 #2845B2
tetradic
#B22845 #8AB228 #28B295 #5028B2
square
#B22845 #8AB228 #28B295 #5028B2
split-complementary
#B22845 #28B250 #288AB2
monochromatic
#4E121E #801D32 #B22845 #D54361 #E0758B
Accessibility & contrast
On white
6.40
#B22845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B22845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22845
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22845 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4D45
Deuteranopia (green-blind)
#726941
Tritanopia (blue-blind)
#C30034
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b22845; /* rgb */ color: rgb(178, 40, 69); /* oklch */ color: oklch(50.7% 0.173 14.6);
Tailwind
colors: {
custom: {
50: '#d06f78',
500: '#b22845',
950: '#000000',
},
}SCSS
$custom: #b22845; $custom-light: #d06f78; $custom-dark: #000000;
JSON
{
"hex": "#b22845",
"rgb": {
"r": 178,
"g": 40,
"b": 69
},
"hsl": {
"h": 347.391,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.50701,
"c": 0.17313,
"h": 14.6
},
"luminance": 0.11412
}Semantic roles & 50–950 ramp
primary
#B22845
secondary
#6FC7B5
accent
#E6C441
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B