#BA3E42#BA3E42
#BA3E42 is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.2% C 0.160 H 22.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3E42 |
|---|---|
| RGB | rgb(186, 62, 66) |
| HSL | hsl(358, 50%, 49%) |
| HSV | hsv(358, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 64.5%, 27.1%) |
| CIE-LAB | lab(44.63, 50.04, 25.58) |
| CIE-LCH | lch(44.63, 56.20, 27.07°) |
| OKLab | oklab(54.2% 0.1475 0.0609) |
| OKLCH | oklch(54.2% 0.16 22.4) |
| XYZ | xyz(22.9580, 14.2809, 6.7008) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.25
Dusty Red
#B9484E
ΔE00 2.89
Reddish
#C44240
ΔE00 3.08
Cardinal
#C41E3A
ΔE00 4.14
Cherry (survey)
#CF0234
ΔE00 5.34
Lipstick Red
#C0022F
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3E42 #3EBAB6
analogous
#BA3E80 #BA3E42 #BA783E
triadic
#BA3E42 #42BA3E #3E42BA
tetradic
#BA3E42 #80BA3E #3EBAB6 #783EBA
square
#BA3E42 #80BA3E #3EBAB6 #783EBA
split-complementary
#BA3E42 #3EBA78 #3E80BA
monochromatic
#5E1F21 #8C2F32 #BA3E42 #CD686C #DC9699
Accessibility & contrast
On white
5.45
#BA3E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#BA3E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3E42
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3E42 | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5941
Deuteranopia (green-blind)
#7E733F
Tritanopia (blue-blind)
#CC2041
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba3e42; /* rgb */ color: rgb(186, 62, 66); /* oklch */ color: oklch(54.2% 0.160 22.4);
Tailwind
colors: {
custom: {
50: '#d67a76',
500: '#ba3e42',
950: '#000000',
},
}SCSS
$custom: #ba3e42; $custom-light: #d67a76; $custom-dark: #000000;
JSON
{
"hex": "#ba3e42",
"rgb": {
"r": 186,
"g": 62,
"b": 66
},
"hsl": {
"h": 358.065,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.54201,
"c": 0.15959,
"h": 22.4
},
"luminance": 0.14278
}Semantic roles & 50–950 ramp
primary
#BA3E42
secondary
#8CC8C6
accent
#DAD54E
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B