#BA2746#BA2746
#BA2746 is a mid, vivid red. Relative luminance 0.123; OKLCH L 52.1% C 0.182 H 15.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2746 |
|---|---|
| RGB | rgb(186, 39, 70) |
| HSL | hsl(347, 65%, 44%) |
| HSV | hsv(347, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 62.4%, 27.1%) |
| CIE-LAB | lab(41.74, 58.48, 19.40) |
| CIE-LCH | lch(41.74, 61.61, 18.35°) |
| OKLab | oklab(52.08% 0.1753 0.0471) |
| OKLCH | oklch(52.08% 0.182 15) |
| XYZ | xyz(22.0830, 12.3357, 7.0114) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.68
Ruby
#CA0147
ΔE00 2.93
Cardinal
#C41E3A
ΔE00 4.14
Rouge
#AB1239
ΔE00 4.41
Lipstick
#D5174E
ΔE00 4.95
Lipstick Red
#C0022F
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2746 #27BA9B
analogous
#BA2790 #BA2746 #BA5227
triadic
#BA2746 #46BA27 #2746BA
tetradic
#BA2746 #90BA27 #27BA9B #5227BA
square
#BA2746 #90BA27 #27BA9B #5227BA
split-complementary
#BA2746 #27BA52 #2790BA
monochromatic
#551220 #871C33 #BA2746 #D84665 #E3798F
Accessibility & contrast
On white
6.06
#BA2746 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#BA2746 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2746
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2746 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2746 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524F46
Deuteranopia (green-blind)
#776D42
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2746; /* rgb */ color: rgb(186, 39, 70); /* oklch */ color: oklch(52.1% 0.182 15.0);
Tailwind
colors: {
custom: {
50: '#d67079',
500: '#ba2746',
950: '#000000',
},
}SCSS
$custom: #ba2746; $custom-light: #d67079; $custom-dark: #000000;
JSON
{
"hex": "#ba2746",
"rgb": {
"r": 186,
"g": 39,
"b": 70
},
"hsl": {
"h": 347.347,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52076,
"c": 0.18152,
"h": 15
},
"luminance": 0.12332
}Semantic roles & 50–950 ramp
primary
#BA2746
secondary
#72CBB8
accent
#E8C540
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B