#BA284C#BA284C
#BA284C is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.3% C 0.181 H 12.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BA284C |
|---|---|
| RGB | rgb(186, 40, 76) |
| HSL | hsl(345, 65%, 44%) |
| HSV | hsv(345, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 59.1%, 27.1%) |
| CIE-LAB | lab(41.97, 58.58, 15.94) |
| CIE-LCH | lch(41.97, 60.71, 15.22°) |
| OKLab | oklab(52.28% 0.1767 0.0395) |
| OKLCH | oklch(52.28% 0.181 12.6) |
| XYZ | xyz(22.3153, 12.4818, 8.0703) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.08
Rose Red
#BE013C
ΔE00 3.90
Lipstick
#D5174E
ΔE00 4.94
Raspberry (survey)
#B00149
ΔE00 4.96
Purplish Red
#B0054B
ΔE00 5.06
Rouge
#AB1239
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA284C #28BA96
analogous
#BA2895 #BA284C #BA4D28
triadic
#BA284C #4CBA28 #284CBA
tetradic
#BA284C #95BA28 #28BA96 #4D28BA
square
#BA284C #95BA28 #28BA96 #4D28BA
split-complementary
#BA284C #28BA4D #2895BA
monochromatic
#551223 #881D37 #BA284C #D8486B #E27A94
Accessibility & contrast
On white
6.01
#BA284C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#BA284C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA284C
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA284C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA284C | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51504C
Deuteranopia (green-blind)
#766E48
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba284c; /* rgb */ color: rgb(186, 40, 76); /* oklch */ color: oklch(52.3% 0.181 12.6);
Tailwind
colors: {
custom: {
50: '#d6707d',
500: '#ba284c',
950: '#000000',
},
}SCSS
$custom: #ba284c; $custom-light: #d6707d; $custom-dark: #000000;
JSON
{
"hex": "#ba284c",
"rgb": {
"r": 186,
"g": 40,
"b": 76
},
"hsl": {
"h": 345.205,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52284,
"c": 0.18106,
"h": 12.6
},
"luminance": 0.12478
}Semantic roles & 50–950 ramp
primary
#BA284C
secondary
#73CAB5
accent
#E8BE40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B