#BA284B#BA284B
#BA284B is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.3% C 0.181 H 13.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BA284B |
|---|---|
| RGB | rgb(186, 40, 75) |
| HSL | hsl(346, 65%, 44%) |
| HSV | hsv(346, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 59.7%, 27.1%) |
| CIE-LAB | lab(41.95, 58.51, 16.54) |
| CIE-LCH | lch(41.95, 60.80, 15.78°) |
| OKLab | oklab(52.26% 0.1763 0.0408) |
| OKLCH | oklch(52.26% 0.181 13) |
| XYZ | xyz(22.2808, 12.4680, 7.8886) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.98
Rose Red
#BE013C
ΔE00 3.67
Lipstick
#D5174E
ΔE00 4.89
Rouge
#AB1239
ΔE00 4.97
Raspberry (survey)
#B00149
ΔE00 5.12
Purplish Red
#B0054B
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA284B #28BA97
analogous
#BA2894 #BA284B #BA4E28
triadic
#BA284B #4BBA28 #284BBA
tetradic
#BA284B #94BA28 #28BA97 #4E28BA
square
#BA284B #94BA28 #28BA97 #4E28BA
split-complementary
#BA284B #28BA4E #2894BA
monochromatic
#551222 #881D37 #BA284B #D8486A #E27A93
Accessibility & contrast
On white
6.01
#BA284B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#BA284B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA284B
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA284B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA284B | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51504B
Deuteranopia (green-blind)
#766E47
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba284b; /* rgb */ color: rgb(186, 40, 75); /* oklch */ color: oklch(52.3% 0.181 13.0);
Tailwind
colors: {
custom: {
50: '#d6707d',
500: '#ba284b',
950: '#000000',
},
}SCSS
$custom: #ba284b; $custom-light: #d6707d; $custom-dark: #000000;
JSON
{
"hex": "#ba284b",
"rgb": {
"r": 186,
"g": 40,
"b": 75
},
"hsl": {
"h": 345.616,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52261,
"c": 0.18098,
"h": 13
},
"luminance": 0.12465
}Semantic roles & 50–950 ramp
primary
#BA284B
secondary
#73CAB6
accent
#E8BF40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B