#BA4231#BA4231
#BA4231 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.4% C 0.158 H 30.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4231 |
|---|---|
| RGB | rgb(186, 66, 49) |
| HSL | hsl(7, 58%, 46%) |
| HSV | hsv(7, 74%, 73%) |
| CMYK | cmyk(0%, 64.5%, 73.7%, 27.1%) |
| CIE-LAB | lab(45.03, 47.42, 35.98) |
| CIE-LCH | lch(45.03, 59.53, 37.19°) |
| OKLab | oklab(54.42% 0.1359 0.081) |
| OKLCH | oklch(54.42% 0.158 30.8) |
| XYZ | xyz(22.7547, 14.5605, 4.5174) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.69
Dull Red
#BB3F3F
ΔE00 4.92
Firebrick
#B22222
ΔE00 6.10
Brick
#A03623
ΔE00 6.33
Brownish Red
#9E3623
ΔE00 6.69
Rusty Red
#AF2F0D
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4231 #31A9BA
analogous
#BA3164 #BA4231 #BA8631
triadic
#BA4231 #31BA42 #4231BA
tetradic
#BA4231 #64BA31 #31A9BA #8631BA
square
#BA4231 #64BA31 #31A9BA #8631BA
split-complementary
#BA4231 #31BA86 #3164BA
monochromatic
#592017 #8A3124 #BA4231 #D26556 #DF9186
Accessibility & contrast
On white
5.37
#BA4231 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#BA4231 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4231
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4231 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A2E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#CC233F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba4231; /* rgb */ color: rgb(186, 66, 49); /* oklch */ color: oklch(54.4% 0.158 30.8);
Tailwind
colors: {
custom: {
50: '#d67c6a',
500: '#ba4231',
950: '#000000',
},
}SCSS
$custom: #ba4231; $custom-light: #d67c6a; $custom-dark: #000000;
JSON
{
"hex": "#ba4231",
"rgb": {
"r": 186,
"g": 66,
"b": 49
},
"hsl": {
"h": 7.445,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.54419,
"c": 0.1582,
"h": 30.8
},
"luminance": 0.14557
}Semantic roles & 50–950 ramp
primary
#BA4231
secondary
#7EC0C9
accent
#CEE246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A