#BA2E51#BA2E51
#BA2E51 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.9% C 0.176 H 11.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E51 |
|---|---|
| RGB | rgb(186, 46, 81) |
| HSL | hsl(345, 60%, 45%) |
| HSV | hsv(345, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 56.5%, 27.1%) |
| CIE-LAB | lab(42.75, 57.05, 13.87) |
| CIE-LCH | lch(42.75, 58.71, 13.66°) |
| OKLab | oklab(52.89% 0.1726 0.0348) |
| OKLCH | oklch(52.89% 0.176 11.4) |
| XYZ | xyz(22.7141, 12.9904, 9.0943) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.81
Dark Rose
#B5485D
ΔE00 4.55
Light Burgundy
#A8415B
ΔE00 4.69
Lipstick
#D5174E
ΔE00 5.04
Rose Red
#BE013C
ΔE00 5.10
Purplish Red
#B0054B
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E51 #2EBA97
analogous
#BA2E97 #BA2E51 #BA512E
triadic
#BA2E51 #51BA2E #2E51BA
tetradic
#BA2E51 #97BA2E #2EBA97 #512EBA
square
#BA2E51 #97BA2E #2EBA97 #512EBA
split-complementary
#BA2E51 #2EBA51 #2E97BA
monochromatic
#581626 #89223C #BA2E51 #D45172 #E0829A
Accessibility & contrast
On white
5.84
#BA2E51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA2E51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E51
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E51 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535352
Deuteranopia (green-blind)
#776F4D
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2e51; /* rgb */ color: rgb(186, 46, 81); /* oklch */ color: oklch(52.9% 0.176 11.4);
Tailwind
colors: {
custom: {
50: '#d57381',
500: '#ba2e51',
950: '#000000',
},
}SCSS
$custom: #ba2e51; $custom-light: #d57381; $custom-dark: #000000;
JSON
{
"hex": "#ba2e51",
"rgb": {
"r": 186,
"g": 46,
"b": 81
},
"hsl": {
"h": 345,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52894,
"c": 0.1761,
"h": 11.4
},
"luminance": 0.12987
}Semantic roles & 50–950 ramp
primary
#BA2E51
secondary
#7BC9B6
accent
#E3BC44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C