#BA3840#BA3840
#BA3840 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.5% C 0.166 H 21.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3840 |
|---|---|
| RGB | rgb(186, 56, 64) |
| HSL | hsl(356, 54%, 47%) |
| HSV | hsv(356, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 65.6%, 27.1%) |
| CIE-LAB | lab(43.71, 52.34, 25.63) |
| CIE-LCH | lch(43.71, 58.27, 26.09°) |
| OKLab | oklab(53.5% 0.1544 0.0608) |
| OKLCH | oklch(53.5% 0.166 21.5) |
| XYZ | xyz(22.5916, 13.6409, 6.2929) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.14
Cardinal
#C41E3A
ΔE00 3.11
Dusty Red
#B9484E
ΔE00 3.55
Reddish
#C44240
ΔE00 3.98
Cherry (survey)
#CF0234
ΔE00 4.64
Lipstick Red
#C0022F
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3840 #38BAB2
analogous
#BA3881 #BA3840 #BA7138
triadic
#BA3840 #40BA38 #3840BA
tetradic
#BA3840 #81BA38 #38BAB2 #7138BA
square
#BA3840 #81BA38 #38BAB2 #7138BA
split-complementary
#BA3840 #38BA71 #3881BA
monochromatic
#5C1C20 #8B2A30 #BA3840 #CF6067 #DD8F94
Accessibility & contrast
On white
5.63
#BA3840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#BA3840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3840
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3840 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C563F
Deuteranopia (green-blind)
#7C713C
Tritanopia (blue-blind)
#CC123C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3840; /* rgb */ color: rgb(186, 56, 64); /* oklch */ color: oklch(53.5% 0.166 21.5);
Tailwind
colors: {
custom: {
50: '#d67774',
500: '#ba3840',
950: '#000000',
},
}SCSS
$custom: #ba3840; $custom-light: #d67774; $custom-dark: #000000;
JSON
{
"hex": "#ba3840",
"rgb": {
"r": 186,
"g": 56,
"b": 64
},
"hsl": {
"h": 356.308,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.53503,
"c": 0.16595,
"h": 21.5
},
"luminance": 0.13638
}Semantic roles & 50–950 ramp
primary
#BA3840
secondary
#86C8C4
accent
#DDD44B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B