#BA4238#BA4238
#BA4238 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.5% C 0.157 H 28.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4238 |
|---|---|
| RGB | rgb(186, 66, 56) |
| HSL | hsl(5, 54%, 47%) |
| HSV | hsv(5, 70%, 73%) |
| CMYK | cmyk(0%, 64.5%, 69.9%, 27.1%) |
| CIE-LAB | lab(45.12, 47.76, 32.09) |
| CIE-LCH | lch(45.12, 57.54, 33.89°) |
| OKLab | oklab(54.51% 0.1384 0.0739) |
| OKLCH | oklch(54.51% 0.157 28.1) |
| XYZ | xyz(22.9141, 14.6243, 5.3568) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.83
Reddish
#C44240
ΔE00 2.92
Firebrick
#B22222
ΔE00 6.02
Dusty Red
#B9484E
ΔE00 6.09
Brown
#A52A2A
ΔE00 6.95
Dark Coral
#CF524E
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4238 #38B0BA
analogous
#BA386F #BA4238 #BA8338
triadic
#BA4238 #38BA42 #4238BA
tetradic
#BA4238 #6FBA38 #38B0BA #8338BA
square
#BA4238 #6FBA38 #38B0BA #8338BA
split-complementary
#BA4238 #38BA83 #386FBA
monochromatic
#5C211C #8B312A #BA4238 #CF6960 #DD958F
Accessibility & contrast
On white
5.35
#BA4238 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#BA4238 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4238
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4238 | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A36
Deuteranopia (green-blind)
#817434
Tritanopia (blue-blind)
#CC2440
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba4238; /* rgb */ color: rgb(186, 66, 56); /* oklch */ color: oklch(54.5% 0.157 28.1);
Tailwind
colors: {
custom: {
50: '#d67c6f',
500: '#ba4238',
950: '#000000',
},
}SCSS
$custom: #ba4238; $custom-light: #d67c6f; $custom-dark: #000000;
JSON
{
"hex": "#ba4238",
"rgb": {
"r": 186,
"g": 66,
"b": 56
},
"hsl": {
"h": 4.615,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.54514,
"c": 0.15686,
"h": 28.1
},
"luminance": 0.14621
}Semantic roles & 50–950 ramp
primary
#BA4238
secondary
#86C3C8
accent
#D2DD4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A