#BA2846#BA2846
#BA2846 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.2% C 0.181 H 15.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2846 |
|---|---|
| RGB | rgb(186, 40, 70) |
| HSL | hsl(348, 65%, 44%) |
| HSV | hsv(348, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 62.4%, 27.1%) |
| CIE-LAB | lab(41.85, 58.19, 19.53) |
| CIE-LCH | lch(41.85, 61.38, 18.56°) |
| OKLab | oklab(52.15% 0.1744 0.0474) |
| OKLCH | oklch(52.15% 0.181 15.2) |
| XYZ | xyz(22.1163, 12.4022, 7.0225) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.75
Ruby
#CA0147
ΔE00 2.99
Cardinal
#C41E3A
ΔE00 4.04
Rouge
#AB1239
ΔE00 4.49
Lipstick
#D5174E
ΔE00 4.93
Lipstick Red
#C0022F
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2846 #28BA9C
analogous
#BA288F #BA2846 #BA5328
triadic
#BA2846 #46BA28 #2846BA
tetradic
#BA2846 #8FBA28 #28BA9C #5328BA
square
#BA2846 #8FBA28 #28BA9C #5328BA
split-complementary
#BA2846 #28BA53 #288FBA
monochromatic
#551220 #881D33 #BA2846 #D84865 #E27A8F
Accessibility & contrast
On white
6.03
#BA2846 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA2846 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2846
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2846 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2846 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524F46
Deuteranopia (green-blind)
#776E42
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2846; /* rgb */ color: rgb(186, 40, 70); /* oklch */ color: oklch(52.2% 0.181 15.2);
Tailwind
colors: {
custom: {
50: '#d67079',
500: '#ba2846',
950: '#000000',
},
}SCSS
$custom: #ba2846; $custom-light: #d67079; $custom-dark: #000000;
JSON
{
"hex": "#ba2846",
"rgb": {
"r": 186,
"g": 40,
"b": 70
},
"hsl": {
"h": 347.671,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52153,
"c": 0.1807,
"h": 15.2
},
"luminance": 0.12399
}Semantic roles & 50–950 ramp
primary
#BA2846
secondary
#73CAB8
accent
#E8C540
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B