#BA3145#BA3145
#BA3145 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.173 H 17.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3145 |
|---|---|
| RGB | rgb(186, 49, 69) |
| HSL | hsl(351, 58%, 46%) |
| HSV | hsv(351, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 62.9%, 27.1%) |
| CIE-LAB | lab(42.87, 55.22, 21.49) |
| CIE-LCH | lch(42.87, 59.25, 21.26°) |
| OKLab | oklab(52.9% 0.1646 0.0519) |
| OKLCH | oklch(52.9% 0.173 17.5) |
| XYZ | xyz(22.4245, 13.0687, 6.9708) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.13
Rose Red
#BE013C
ΔE00 3.76
Ruby
#CA0147
ΔE00 4.16
Dusty Red
#B9484E
ΔE00 4.37
Dull Red
#BB3F3F
ΔE00 4.97
Lipstick Red
#C0022F
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3145 #31BAA6
analogous
#BA3189 #BA3145 #BA6131
triadic
#BA3145 #45BA31 #3145BA
tetradic
#BA3145 #89BA31 #31BAA6 #6131BA
square
#BA3145 #89BA31 #31BAA6 #6131BA
split-complementary
#BA3145 #31BA61 #3189BA
monochromatic
#591721 #8A2433 #BA3145 #D25668 #DF8693
Accessibility & contrast
On white
5.81
#BA3145 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA3145 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3145
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3145 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#575345
Deuteranopia (green-blind)
#7A7041
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3145; /* rgb */ color: rgb(186, 49, 69); /* oklch */ color: oklch(52.9% 0.173 17.5);
Tailwind
colors: {
custom: {
50: '#d67478',
500: '#ba3145',
950: '#000000',
},
}SCSS
$custom: #ba3145; $custom-light: #d67478; $custom-dark: #000000;
JSON
{
"hex": "#ba3145",
"rgb": {
"r": 186,
"g": 49,
"b": 69
},
"hsl": {
"h": 351.241,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52901,
"c": 0.1726,
"h": 17.5
},
"luminance": 0.13065
}Semantic roles & 50–950 ramp
primary
#BA3145
secondary
#7EC9BE
accent
#E2CB46
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B