#BA274A#BA274A
#BA274A is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.2% C 0.182 H 13.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA274A |
|---|---|
| RGB | rgb(186, 39, 74) |
| HSL | hsl(346, 65%, 44%) |
| HSV | hsv(346, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 60.2%, 27.1%) |
| CIE-LAB | lab(41.83, 58.73, 17.00) |
| CIE-LCH | lch(41.83, 61.14, 16.14°) |
| OKLab | oklab(52.16% 0.1769 0.0418) |
| OKLCH | oklch(52.16% 0.182 13.3) |
| XYZ | xyz(22.2135, 12.3879, 7.6987) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.90
Rose Red
#BE013C
ΔE00 3.43
Rouge
#AB1239
ΔE00 4.79
Lipstick
#D5174E
ΔE00 4.91
Raspberry (survey)
#B00149
ΔE00 5.14
Purplish Red
#B0054B
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA274A #27BA97
analogous
#BA2794 #BA274A #BA4E27
triadic
#BA274A #4ABA27 #274ABA
tetradic
#BA274A #94BA27 #27BA97 #4E27BA
square
#BA274A #94BA27 #27BA97 #4E27BA
split-complementary
#BA274A #27BA4E #2794BA
monochromatic
#551222 #871C36 #BA274A #D84669 #E37992
Accessibility & contrast
On white
6.04
#BA274A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA274A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA274A
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA274A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA274A | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514F4A
Deuteranopia (green-blind)
#766D46
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba274a; /* rgb */ color: rgb(186, 39, 74); /* oklch */ color: oklch(52.2% 0.182 13.3);
Tailwind
colors: {
custom: {
50: '#d6707c',
500: '#ba274a',
950: '#000000',
},
}SCSS
$custom: #ba274a; $custom-light: #d6707c; $custom-dark: #000000;
JSON
{
"hex": "#ba274a",
"rgb": {
"r": 186,
"g": 39,
"b": 74
},
"hsl": {
"h": 345.714,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52163,
"c": 0.18175,
"h": 13.3
},
"luminance": 0.12385
}Semantic roles & 50–950 ramp
primary
#BA274A
secondary
#72CBB6
accent
#E8C040
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B