#B02F28#B02F28
#B02F28 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.167 H 27.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B02F28 |
|---|---|
| RGB | rgb(176, 47, 40) |
| HSL | hsl(3, 63%, 42%) |
| HSV | hsv(3, 77%, 69%) |
| CMYK | cmyk(0%, 73.3%, 77.3%, 31%) |
| CIE-LAB | lab(40.28, 51.34, 35.34) |
| CIE-LCH | lch(40.28, 62.33, 34.55°) |
| OKLab | oklab(50.49% 0.1474 0.0781) |
| OKLCH | oklch(50.49% 0.167 27.9) |
| XYZ | xyz(19.3063, 11.4193, 3.1947) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.69
Brown
#A52A2A
ΔE00 3.20
Scarlet
#BE0119
ΔE00 3.80
Brick
#A03623
ΔE00 3.93
Brownish Red
#9E3623
ΔE00 4.22
Dull Red
#BB3F3F
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02F28 #28A9B0
analogous
#B02865 #B02F28 #B07328
triadic
#B02F28 #28B02F #2F28B0
tetradic
#B02F28 #65B028 #28A9B0 #7328B0
square
#B02F28 #65B028 #28A9B0 #7328B0
split-complementary
#B02F28 #28B073 #2865B0
monochromatic
#4C1411 #7E221D #B02F28 #D44941 #DF7973
Accessibility & contrast
On white
6.40
#B02F28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B02F28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02F28
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02F28 | 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)
#554D26
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#C2002F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02f28; /* rgb */ color: rgb(176, 47, 40); /* oklch */ color: oklch(50.5% 0.167 27.9);
Tailwind
colors: {
custom: {
50: '#d07163',
500: '#b02f28',
950: '#000000',
},
}SCSS
$custom: #b02f28; $custom-light: #d07163; $custom-dark: #000000;
JSON
{
"hex": "#b02f28",
"rgb": {
"r": 176,
"g": 47,
"b": 40
},
"hsl": {
"h": 3.088,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.5049,
"c": 0.16684,
"h": 27.9
},
"luminance": 0.11416
}Semantic roles & 50–950 ramp
primary
#B02F28
secondary
#6DC2C6
accent
#DEE642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79