#B02831#B02831
#B02831 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.172 H 22.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B02831 |
|---|---|
| RGB | rgb(176, 40, 49) |
| HSL | hsl(356, 63%, 42%) |
| HSV | hsv(356, 77%, 69%) |
| CMYK | cmyk(0%, 77.3%, 72.2%, 31%) |
| CIE-LAB | lab(39.53, 54.11, 29.20) |
| CIE-LCH | lch(39.53, 61.48, 28.36°) |
| OKLab | oklab(49.97% 0.1582 0.0668) |
| OKLCH | oklch(49.97% 0.172 22.9) |
| XYZ | xyz(19.2199, 10.9724, 4.0110) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.74
Lipstick Red
#C0022F
ΔE00 3.23
Firebrick
#B22222
ΔE00 3.88
Cardinal
#C41E3A
ΔE00 4.23
Dull Red
#BB3F3F
ΔE00 5.06
Cherry (survey)
#CF0234
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02831 #28B0A7
analogous
#B02875 #B02831 #B06328
triadic
#B02831 #31B028 #2831B0
tetradic
#B02831 #75B028 #28B0A7 #6328B0
square
#B02831 #75B028 #28B0A7 #6328B0
split-complementary
#B02831 #28B063 #2875B0
monochromatic
#4C1115 #7E1D23 #B02831 #D4414B #DF737A
Accessibility & contrast
On white
6.58
#B02831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B02831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02831
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02831 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514B30
Deuteranopia (green-blind)
#73682C
Tritanopia (blue-blind)
#C2002D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b02831; /* rgb */ color: rgb(176, 40, 49); /* oklch */ color: oklch(50.0% 0.172 22.9);
Tailwind
colors: {
custom: {
50: '#d06e69',
500: '#b02831',
950: '#000000',
},
}SCSS
$custom: #b02831; $custom-light: #d06e69; $custom-dark: #000000;
JSON
{
"hex": "#b02831",
"rgb": {
"r": 176,
"g": 40,
"b": 49
},
"hsl": {
"h": 356.029,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.49973,
"c": 0.17169,
"h": 22.9
},
"luminance": 0.10969
}Semantic roles & 50–950 ramp
primary
#B02831
secondary
#6DC6C1
accent
#E6DB42
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A