#BA2845#BA2845
#BA2845 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.1% C 0.181 H 15.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2845 |
|---|---|
| RGB | rgb(186, 40, 69) |
| HSL | hsl(348, 65%, 44%) |
| HSV | hsv(348, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 62.9%, 27.1%) |
| CIE-LAB | lab(41.83, 58.13, 20.13) |
| CIE-LCH | lch(41.83, 61.52, 19.10°) |
| OKLab | oklab(52.13% 0.174 0.0487) |
| OKLCH | oklch(52.13% 0.181 15.7) |
| XYZ | xyz(22.0850, 12.3897, 6.8576) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.64
Ruby
#CA0147
ΔE00 3.09
Cardinal
#C41E3A
ΔE00 3.76
Rouge
#AB1239
ΔE00 4.45
Lipstick
#D5174E
ΔE00 5.00
Lipstick Red
#C0022F
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2845 #28BA9D
analogous
#BA288E #BA2845 #BA5428
triadic
#BA2845 #45BA28 #2845BA
tetradic
#BA2845 #8EBA28 #28BA9D #5428BA
square
#BA2845 #8EBA28 #28BA9D #5428BA
split-complementary
#BA2845 #28BA54 #288EBA
monochromatic
#551220 #881D32 #BA2845 #D84864 #E27A8F
Accessibility & contrast
On white
6.04
#BA2845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA2845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2845
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2845 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524F45
Deuteranopia (green-blind)
#776E41
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2845; /* rgb */ color: rgb(186, 40, 69); /* oklch */ color: oklch(52.1% 0.181 15.7);
Tailwind
colors: {
custom: {
50: '#d67078',
500: '#ba2845',
950: '#000000',
},
}SCSS
$custom: #ba2845; $custom-light: #d67078; $custom-dark: #000000;
JSON
{
"hex": "#ba2845",
"rgb": {
"r": 186,
"g": 40,
"b": 69
},
"hsl": {
"h": 348.082,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52132,
"c": 0.18066,
"h": 15.7
},
"luminance": 0.12386
}Semantic roles & 50–950 ramp
primary
#BA2845
secondary
#73CAB9
accent
#E8C640
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160808
muted
#847B7B