#B02828#B02828
#B02828 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.173 H 26.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B02828 |
|---|---|
| RGB | rgb(176, 40, 40) |
| HSL | hsl(0, 63%, 42%) |
| HSV | hsv(0, 77%, 69%) |
| CMYK | cmyk(0%, 77.3%, 77.3%, 31%) |
| CIE-LAB | lab(39.42, 53.73, 34.42) |
| CIE-LCH | lch(39.42, 63.81, 32.64°) |
| OKLab | oklab(49.85% 0.155 0.0761) |
| OKLCH | oklch(49.85% 0.173 26.1) |
| XYZ | xyz(19.0486, 10.9039, 3.1088) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.27
Brown
#A52A2A
ΔE00 2.29
Scarlet
#BE0119
ΔE00 3.55
Lipstick Red
#C0022F
ΔE00 4.80
Brick
#A03623
ΔE00 4.84
Brownish Red
#9E3623
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02828 #28B0B0
analogous
#B0286C #B02828 #B06C28
triadic
#B02828 #28B028 #2828B0
tetradic
#B02828 #6CB028 #28B0B0 #6C28B0
square
#B02828 #6CB028 #28B0B0 #6C28B0
split-complementary
#B02828 #28B06C #286CB0
monochromatic
#4C1111 #7E1D1D #B02828 #D44141 #DF7373
Accessibility & contrast
On white
6.60
#B02828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#B02828 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02828
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02828 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#C2002A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b02828; /* rgb */ color: rgb(176, 40, 40); /* oklch */ color: oklch(49.9% 0.173 26.1);
Tailwind
colors: {
custom: {
50: '#d16e62',
500: '#b02828',
950: '#000000',
},
}SCSS
$custom: #b02828; $custom-light: #d16e62; $custom-dark: #000000;
JSON
{
"hex": "#b02828",
"rgb": {
"r": 176,
"g": 40,
"b": 40
},
"hsl": {
"h": 0,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.4985,
"c": 0.17264,
"h": 26.1
},
"luminance": 0.10901
}Semantic roles & 50–950 ramp
primary
#B02828
secondary
#6DC6C6
accent
#E6E642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79