#B02127#B02127
#B02127 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.178 H 25.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B02127 |
|---|---|
| RGB | rgb(176, 33, 39) |
| HSL | hsl(357, 68%, 41%) |
| HSV | hsv(357, 81%, 69%) |
| CMYK | cmyk(0%, 81.3%, 77.8%, 31%) |
| CIE-LAB | lab(38.67, 55.77, 34.20) |
| CIE-LCH | lch(38.67, 65.42, 31.51°) |
| OKLab | oklab(49.29% 0.1612 0.0753) |
| OKLCH | oklch(49.29% 0.178 25) |
| XYZ | xyz(18.8168, 10.4673, 2.9487) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.72
Brown
#A52A2A
ΔE00 2.11
Scarlet
#BE0119
ΔE00 3.60
Lipstick Red
#C0022F
ΔE00 4.17
Carmine
#9D0216
ΔE00 5.29
Brick
#A03623
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02127 #21B0AA
analogous
#B0216E #B02127 #B06321
triadic
#B02127 #27B021 #2127B0
tetradic
#B02127 #6EB021 #21B0AA #6321B0
square
#B02127 #6EB021 #21B0AA #6321B0
split-complementary
#B02127 #21B063 #216EB0
monochromatic
#490E10 #7C171C #B02127 #D9353C #E3696E
Accessibility & contrast
On white
6.79
#B02127 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#B02127 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02127
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02127 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4725
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#C20025
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b02127; /* rgb */ color: rgb(176, 33, 39); /* oklch */ color: oklch(49.3% 0.178 25.0);
Tailwind
colors: {
custom: {
50: '#d16b61',
500: '#b02127',
950: '#000000',
},
}SCSS
$custom: #b02127; $custom-light: #d16b61; $custom-dark: #000000;
JSON
{
"hex": "#b02127",
"rgb": {
"r": 176,
"g": 33,
"b": 39
},
"hsl": {
"h": 357.483,
"s": 68.421,
"l": 40.98
},
"oklch": {
"l": 0.49289,
"c": 0.17794,
"h": 25
},
"luminance": 0.10464
}Semantic roles & 50–950 ramp
primary
#B02127
secondary
#64C8C4
accent
#EBE43D
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79