#BA284A#BA284A
#BA284A is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.2% C 0.181 H 13.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA284A |
|---|---|
| RGB | rgb(186, 40, 74) |
| HSL | hsl(346, 65%, 44%) |
| HSV | hsv(346, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 60.2%, 27.1%) |
| CIE-LAB | lab(41.93, 58.44, 17.14) |
| CIE-LCH | lch(41.93, 60.90, 16.34°) |
| OKLab | oklab(52.24% 0.1759 0.0422) |
| OKLCH | oklch(52.24% 0.181 13.5) |
| XYZ | xyz(22.2468, 12.4544, 7.7098) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.92
Rose Red
#BE013C
ΔE00 3.45
Rouge
#AB1239
ΔE00 4.84
Lipstick
#D5174E
ΔE00 4.86
Cardinal
#C41E3A
ΔE00 5.20
Raspberry (survey)
#B00149
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA284A #28BA98
analogous
#BA2893 #BA284A #BA4F28
triadic
#BA284A #4ABA28 #284ABA
tetradic
#BA284A #93BA28 #28BA98 #4F28BA
square
#BA284A #93BA28 #28BA98 #4F28BA
split-complementary
#BA284A #28BA4F #2893BA
monochromatic
#551222 #881D36 #BA284A #D84869 #E27A92
Accessibility & contrast
On white
6.02
#BA284A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#BA284A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA284A
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA284A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA284A | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51504A
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba284a; /* rgb */ color: rgb(186, 40, 74); /* oklch */ color: oklch(52.2% 0.181 13.5);
Tailwind
colors: {
custom: {
50: '#d6707c',
500: '#ba284a',
950: '#000000',
},
}SCSS
$custom: #ba284a; $custom-light: #d6707c; $custom-dark: #000000;
JSON
{
"hex": "#ba284a",
"rgb": {
"r": 186,
"g": 40,
"b": 74
},
"hsl": {
"h": 346.027,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52239,
"c": 0.18091,
"h": 13.5
},
"luminance": 0.12451
}Semantic roles & 50–950 ramp
primary
#BA284A
secondary
#73CAB6
accent
#E8C140
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B