#BA2E4F#BA2E4F
#BA2E4F is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.176 H 12.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E4F |
|---|---|
| RGB | rgb(186, 46, 79) |
| HSL | hsl(346, 60%, 45%) |
| HSV | hsv(346, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 57.5%, 27.1%) |
| CIE-LAB | lab(42.70, 56.91, 15.05) |
| CIE-LCH | lch(42.70, 58.87, 14.82°) |
| OKLab | oklab(52.85% 0.1719 0.0375) |
| OKLCH | oklch(52.85% 0.176 12.3) |
| XYZ | xyz(22.6402, 12.9609, 8.7052) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.52
Rose Red
#BE013C
ΔE00 4.64
Dark Rose
#B5485D
ΔE00 4.67
Lipstick
#D5174E
ΔE00 4.85
Light Burgundy
#A8415B
ΔE00 5.03
Raspberry (survey)
#B00149
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E4F #2EBA99
analogous
#BA2E95 #BA2E4F #BA532E
triadic
#BA2E4F #4FBA2E #2E4FBA
tetradic
#BA2E4F #95BA2E #2EBA99 #532EBA
square
#BA2E4F #95BA2E #2EBA99 #532EBA
split-complementary
#BA2E4F #2EBA53 #2E95BA
monochromatic
#581625 #89223A #BA2E4F #D45170 #E08298
Accessibility & contrast
On white
5.85
#BA2E4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA2E4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E4F
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E4F | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53534F
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2e4f; /* rgb */ color: rgb(186, 46, 79); /* oklch */ color: oklch(52.8% 0.176 12.3);
Tailwind
colors: {
custom: {
50: '#d67380',
500: '#ba2e4f',
950: '#000000',
},
}SCSS
$custom: #ba2e4f; $custom-light: #d67380; $custom-dark: #000000;
JSON
{
"hex": "#ba2e4f",
"rgb": {
"r": 186,
"g": 46,
"b": 79
},
"hsl": {
"h": 345.857,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52847,
"c": 0.1759,
"h": 12.3
},
"luminance": 0.12958
}Semantic roles & 50–950 ramp
primary
#BA2E4F
secondary
#7BC9B7
accent
#E3BE44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C