#BA3142#BA3142
#BA3142 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.173 H 18.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3142 |
|---|---|
| RGB | rgb(186, 49, 66) |
| HSL | hsl(353, 58%, 46%) |
| HSV | hsv(353, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 64.5%, 27.1%) |
| CIE-LAB | lab(42.81, 55.04, 23.26) |
| CIE-LCH | lch(42.81, 59.75, 22.91°) |
| OKLab | oklab(52.84% 0.1635 0.0556) |
| OKLCH | oklch(52.84% 0.173 18.8) |
| XYZ | xyz(22.3337, 13.0324, 6.4927) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.54
Rose Red
#BE013C
ΔE00 3.97
Dull Red
#BB3F3F
ΔE00 4.19
Dusty Red
#B9484E
ΔE00 4.28
Lipstick Red
#C0022F
ΔE00 4.46
Cherry (survey)
#CF0234
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3142 #31BAA9
analogous
#BA3186 #BA3142 #BA6431
triadic
#BA3142 #42BA31 #3142BA
tetradic
#BA3142 #86BA31 #31BAA9 #6431BA
square
#BA3142 #86BA31 #31BAA9 #6431BA
split-complementary
#BA3142 #31BA64 #3186BA
monochromatic
#591720 #8A2431 #BA3142 #D25665 #DF8691
Accessibility & contrast
On white
5.82
#BA3142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA3142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3142
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3142 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575342
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3142; /* rgb */ color: rgb(186, 49, 66); /* oklch */ color: oklch(52.8% 0.173 18.8);
Tailwind
colors: {
custom: {
50: '#d67476',
500: '#ba3142',
950: '#000000',
},
}SCSS
$custom: #ba3142; $custom-light: #d67476; $custom-dark: #000000;
JSON
{
"hex": "#ba3142",
"rgb": {
"r": 186,
"g": 49,
"b": 66
},
"hsl": {
"h": 352.555,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52843,
"c": 0.17265,
"h": 18.8
},
"luminance": 0.13029
}Semantic roles & 50–950 ramp
primary
#BA3142
secondary
#7EC9C0
accent
#E2CE46
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B