#BA2E4B#BA2E4B
#BA2E4B is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.8% C 0.176 H 14.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E4B |
|---|---|
| RGB | rgb(186, 46, 75) |
| HSL | hsl(348, 60%, 45%) |
| HSV | hsv(348, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 59.7%, 27.1%) |
| CIE-LAB | lab(42.62, 56.63, 17.44) |
| CIE-LCH | lch(42.62, 59.25, 17.11°) |
| OKLab | oklab(52.76% 0.1703 0.0429) |
| OKLCH | oklch(52.76% 0.176 14.1) |
| XYZ | xyz(22.4990, 12.9044, 7.9613) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.25
Rose Red
#BE013C
ΔE00 3.86
Lipstick
#D5174E
ΔE00 4.68
Cardinal
#C41E3A
ΔE00 4.94
Dark Rose
#B5485D
ΔE00 5.13
Rouge
#AB1239
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E4B #2EBA9D
analogous
#BA2E91 #BA2E4B #BA572E
triadic
#BA2E4B #4BBA2E #2E4BBA
tetradic
#BA2E4B #91BA2E #2EBA9D #572EBA
square
#BA2E4B #91BA2E #2EBA9D #572EBA
split-complementary
#BA2E4B #2EBA57 #2E91BA
monochromatic
#581623 #892237 #BA2E4B #D4516C #E08296
Accessibility & contrast
On white
5.87
#BA2E4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA2E4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E4B
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E4B | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54524B
Deuteranopia (green-blind)
#786F47
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2e4b; /* rgb */ color: rgb(186, 46, 75); /* oklch */ color: oklch(52.8% 0.176 14.1);
Tailwind
colors: {
custom: {
50: '#d6737d',
500: '#ba2e4b',
950: '#000000',
},
}SCSS
$custom: #ba2e4b; $custom-light: #d6737d; $custom-dark: #000000;
JSON
{
"hex": "#ba2e4b",
"rgb": {
"r": 186,
"g": 46,
"b": 75
},
"hsl": {
"h": 347.571,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52756,
"c": 0.17559,
"h": 14.1
},
"luminance": 0.12901
}Semantic roles & 50–950 ramp
primary
#BA2E4B
secondary
#7BC9B9
accent
#E3C344
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B