#BA4038#BA4038
#BA4038 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.3% C 0.159 H 27.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4038 |
|---|---|
| RGB | rgb(186, 64, 56) |
| HSL | hsl(4, 54%, 47%) |
| HSV | hsv(4, 70%, 73%) |
| CMYK | cmyk(0%, 65.6%, 69.9%, 27.1%) |
| CIE-LAB | lab(44.79, 48.63, 31.71) |
| CIE-LCH | lch(44.79, 58.05, 33.11°) |
| OKLab | oklab(54.27% 0.1411 0.0731) |
| OKLCH | oklch(54.27% 0.159 27.4) |
| XYZ | xyz(22.7993, 14.3947, 5.3185) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.37
Reddish
#C44240
ΔE00 2.77
Firebrick
#B22222
ΔE00 5.71
Dusty Red
#B9484E
ΔE00 5.80
Cardinal
#C41E3A
ΔE00 6.40
Brown
#A52A2A
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4038 #38B2BA
analogous
#BA3871 #BA4038 #BA8138
triadic
#BA4038 #38BA40 #4038BA
tetradic
#BA4038 #71BA38 #38B2BA #8138BA
square
#BA4038 #71BA38 #38B2BA #8138BA
split-complementary
#BA4038 #38BA81 #3871BA
monochromatic
#5C201C #8B302A #BA4038 #CF6760 #DD948F
Accessibility & contrast
On white
5.41
#BA4038 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#BA4038 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4038
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4038 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615936
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#CC213F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba4038; /* rgb */ color: rgb(186, 64, 56); /* oklch */ color: oklch(54.3% 0.159 27.4);
Tailwind
colors: {
custom: {
50: '#d67b6f',
500: '#ba4038',
950: '#000000',
},
}SCSS
$custom: #ba4038; $custom-light: #d67b6f; $custom-dark: #000000;
JSON
{
"hex": "#ba4038",
"rgb": {
"r": 186,
"g": 64,
"b": 56
},
"hsl": {
"h": 3.692,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.54273,
"c": 0.15888,
"h": 27.4
},
"luminance": 0.14391
}Semantic roles & 50–950 ramp
primary
#BA4038
secondary
#86C4C8
accent
#D4DD4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160A07
muted
#847C7A