#B02E31#B02E31
#B02E31 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.167 H 24.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B02E31 |
|---|---|
| RGB | rgb(176, 46, 49) |
| HSL | hsl(359, 59%, 44%) |
| HSV | hsv(359, 74%, 69%) |
| CMYK | cmyk(0%, 73.9%, 72.2%, 31%) |
| CIE-LAB | lab(40.26, 52.08, 30.05) |
| CIE-LCH | lch(40.26, 60.13, 29.99°) |
| OKLab | oklab(50.51% 0.1517 0.0687) |
| OKLCH | oklch(50.51% 0.167 24.4) |
| XYZ | xyz(19.4381, 11.4088, 4.0837) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.60
Firebrick
#B22222
ΔE00 3.30
Lipstick Red
#C0022F
ΔE00 3.99
Dull Red
#BB3F3F
ΔE00 4.37
Cardinal
#C41E3A
ΔE00 4.71
Scarlet
#BE0119
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02E31 #2EB0AD
analogous
#B02E72 #B02E31 #B06C2E
triadic
#B02E31 #31B02E #2E31B0
tetradic
#B02E31 #72B02E #2EB0AD #6C2EB0
square
#B02E31 #72B02E #2EB0AD #6C2EB0
split-complementary
#B02E31 #2EB06C #2E72B0
monochromatic
#4F1516 #7F2123 #B02E31 #D04B4E #DD7C7E
Accessibility & contrast
On white
6.40
#B02E31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B02E31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02E31
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02E31 | 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)
#544D30
Deuteranopia (green-blind)
#74692D
Tritanopia (blue-blind)
#C20031
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02e31; /* rgb */ color: rgb(176, 46, 49); /* oklch */ color: oklch(50.5% 0.167 24.4);
Tailwind
colors: {
custom: {
50: '#d07169',
500: '#b02e31',
950: '#000000',
},
}SCSS
$custom: #b02e31; $custom-light: #d07169; $custom-dark: #000000;
JSON
{
"hex": "#b02e31",
"rgb": {
"r": 176,
"g": 46,
"b": 49
},
"hsl": {
"h": 358.615,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.50513,
"c": 0.16654,
"h": 24.4
},
"luminance": 0.11406
}Semantic roles & 50–950 ramp
primary
#B02E31
secondary
#75C5C3
accent
#E2DE46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A