#B02F27#B02F27
#B02F27 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.167 H 28.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B02F27 |
|---|---|
| RGB | rgb(176, 47, 39) |
| HSL | hsl(4, 64%, 42%) |
| HSV | hsv(4, 78%, 69%) |
| CMYK | cmyk(0%, 73.3%, 77.8%, 31%) |
| CIE-LAB | lab(40.27, 51.30, 35.90) |
| CIE-LCH | lch(40.27, 62.62, 34.98°) |
| OKLab | oklab(50.48% 0.1471 0.079) |
| OKLCH | oklch(50.48% 0.167 28.2) |
| XYZ | xyz(19.2895, 11.4126, 3.1062) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.72
Brown
#A52A2A
ΔE00 3.38
Scarlet
#BE0119
ΔE00 3.75
Brick
#A03623
ΔE00 3.77
Brownish Red
#9E3623
ΔE00 4.08
Darkish Red
#A90308
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02F27 #27A8B0
analogous
#B02763 #B02F27 #B07427
triadic
#B02F27 #27B02F #2F27B0
tetradic
#B02F27 #63B027 #27A8B0 #7427B0
square
#B02F27 #63B027 #27A8B0 #7427B0
split-complementary
#B02F27 #27B074 #2763B0
monochromatic
#4C1411 #7E221C #B02F27 #D54840 #E07872
Accessibility & contrast
On white
6.40
#B02F27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#B02F27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02F27
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02F27 | 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)
#554D25
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#C2002F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b02f27; /* rgb */ color: rgb(176, 47, 39); /* oklch */ color: oklch(50.5% 0.167 28.2);
Tailwind
colors: {
custom: {
50: '#d07162',
500: '#b02f27',
950: '#000000',
},
}SCSS
$custom: #b02f27; $custom-light: #d07162; $custom-dark: #000000;
JSON
{
"hex": "#b02f27",
"rgb": {
"r": 176,
"g": 47,
"b": 39
},
"hsl": {
"h": 3.504,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.50478,
"c": 0.16699,
"h": 28.2
},
"luminance": 0.1141
}Semantic roles & 50–950 ramp
primary
#B02F27
secondary
#6CC1C7
accent
#DDE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79