#BA4227#BA4227
#BA4227 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.3% C 0.160 H 34.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4227 |
|---|---|
| RGB | rgb(186, 66, 39) |
| HSL | hsl(11, 65%, 44%) |
| HSV | hsv(11, 79%, 73%) |
| CMYK | cmyk(0%, 64.5%, 79%, 27.1%) |
| CIE-LAB | lab(44.92, 47.02, 41.28) |
| CIE-LCH | lch(44.92, 62.57, 41.28°) |
| OKLab | oklab(54.31% 0.1327 0.0899) |
| OKLCH | oklch(54.31% 0.16 34.1) |
| XYZ | xyz(22.5666, 14.4853, 3.5267) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rust
#B7410E
ΔE00 5.02
Rusty Red
#AF2F0D
ΔE00 5.15
Brick
#A03623
ΔE00 6.42
Rust (survey)
#A83C09
ΔE00 6.63
Brownish Red
#9E3623
ΔE00 6.78
Rust Red
#AA2704
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4227 #279FBA
analogous
#BA2756 #BA4227 #BA8B27
triadic
#BA4227 #27BA42 #4227BA
tetradic
#BA4227 #56BA27 #279FBA #8B27BA
square
#BA4227 #56BA27 #279FBA #8B27BA
split-complementary
#BA4227 #27BA8B #2756BA
monochromatic
#551E12 #87301C #BA4227 #D86146 #E38C79
Accessibility & contrast
On white
5.39
#BA4227 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#BA4227 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4227
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4227 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645A23
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#CD213D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba4227; /* rgb */ color: rgb(186, 66, 39); /* oklch */ color: oklch(54.3% 0.160 34.1);
Tailwind
colors: {
custom: {
50: '#d77c63',
500: '#ba4227',
950: '#000000',
},
}SCSS
$custom: #ba4227; $custom-light: #d77c63; $custom-dark: #000000;
JSON
{
"hex": "#ba4227",
"rgb": {
"r": 186,
"g": 66,
"b": 39
},
"hsl": {
"h": 11.02,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.54306,
"c": 0.16029,
"h": 34.1
},
"luminance": 0.14482
}Semantic roles & 50–950 ramp
primary
#BA4227
secondary
#72BACB
accent
#C9E840
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160A05
muted
#847C7A