#B03227#B03227
#B03227 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.8% C 0.164 H 29.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B03227 |
|---|---|
| RGB | rgb(176, 50, 39) |
| HSL | hsl(5, 64%, 42%) |
| HSV | hsv(5, 78%, 69%) |
| CMYK | cmyk(0%, 71.6%, 77.8%, 31%) |
| CIE-LAB | lab(40.67, 50.18, 36.33) |
| CIE-LCH | lch(40.67, 61.95, 35.90°) |
| OKLab | oklab(50.78% 0.1436 0.0799) |
| OKLCH | oklch(50.78% 0.164 29.1) |
| XYZ | xyz(19.4136, 11.6608, 3.1476) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.33
Brick
#A03623
ΔE00 3.49
Brownish Red
#9E3623
ΔE00 3.83
Brown
#A52A2A
ΔE00 3.95
Scarlet
#BE0119
ΔE00 4.11
Rusty Red
#AF2F0D
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B03227 #27A5B0
analogous
#B02760 #B03227 #B07727
triadic
#B03227 #27B032 #3227B0
tetradic
#B03227 #60B027 #27A5B0 #7727B0
square
#B03227 #60B027 #27A5B0 #7727B0
split-complementary
#B03227 #27B077 #2760B0
monochromatic
#4C1611 #7E241C #B03227 #D54C40 #E07B72
Accessibility & contrast
On white
6.30
#B03227 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B03227 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B03227
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B03227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B03227 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E25
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#C20031
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b03227; /* rgb */ color: rgb(176, 50, 39); /* oklch */ color: oklch(50.8% 0.164 29.1);
Tailwind
colors: {
custom: {
50: '#d07262',
500: '#b03227',
950: '#000000',
},
}SCSS
$custom: #b03227; $custom-light: #d07262; $custom-dark: #000000;
JSON
{
"hex": "#b03227",
"rgb": {
"r": 176,
"g": 50,
"b": 39
},
"hsl": {
"h": 4.818,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.50781,
"c": 0.16436,
"h": 29.1
},
"luminance": 0.11658
}Semantic roles & 50–950 ramp
primary
#B03227
secondary
#6CBFC7
accent
#D9E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79