#BA3942#BA3942
#BA3942 is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.6% C 0.165 H 20.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3942 |
|---|---|
| RGB | rgb(186, 57, 66) |
| HSL | hsl(356, 53%, 48%) |
| HSV | hsv(356, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 64.5%, 27.1%) |
| CIE-LAB | lab(43.89, 52.07, 24.64) |
| CIE-LCH | lch(43.89, 57.60, 25.32°) |
| OKLab | oklab(53.65% 0.154 0.0587) |
| OKLCH | oklch(53.65% 0.165 20.9) |
| XYZ | xyz(22.6985, 13.7620, 6.6143) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.43
Dusty Red
#B9484E
ΔE00 3.19
Cardinal
#C41E3A
ΔE00 3.21
Reddish
#C44240
ΔE00 4.17
Cherry (survey)
#CF0234
ΔE00 4.85
Lipstick Red
#C0022F
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3942 #39BAB1
analogous
#BA3982 #BA3942 #BA7139
triadic
#BA3942 #42BA39 #3942BA
tetradic
#BA3942 #82BA39 #39BAB1 #7139BA
square
#BA3942 #82BA39 #39BAB1 #7139BA
split-complementary
#BA3942 #39BA71 #3982BA
monochromatic
#5C1C21 #8B2B31 #BA3942 #CF6169 #DD9096
Accessibility & contrast
On white
5.60
#BA3942 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#BA3942 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3942
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3942 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5641
Deuteranopia (green-blind)
#7C723E
Tritanopia (blue-blind)
#CC153D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3942; /* rgb */ color: rgb(186, 57, 66); /* oklch */ color: oklch(53.6% 0.165 20.9);
Tailwind
colors: {
custom: {
50: '#d67876',
500: '#ba3942',
950: '#000000',
},
}SCSS
$custom: #ba3942; $custom-light: #d67876; $custom-dark: #000000;
JSON
{
"hex": "#ba3942",
"rgb": {
"r": 186,
"g": 57,
"b": 66
},
"hsl": {
"h": 355.814,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.53646,
"c": 0.16479,
"h": 20.9
},
"luminance": 0.13759
}Semantic roles & 50–950 ramp
primary
#BA3942
secondary
#87C8C3
accent
#DCD24B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B