#BA274B#BA274B
#BA274B is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.2% C 0.182 H 12.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA274B |
|---|---|
| RGB | rgb(186, 39, 75) |
| HSL | hsl(345, 65%, 44%) |
| HSV | hsv(345, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 59.7%, 27.1%) |
| CIE-LAB | lab(41.85, 58.80, 16.40) |
| CIE-LCH | lch(41.85, 61.05, 15.58°) |
| OKLab | oklab(52.19% 0.1773 0.0405) |
| OKLCH | oklch(52.19% 0.182 12.9) |
| XYZ | xyz(22.2475, 12.4014, 7.8775) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.97
Rose Red
#BE013C
ΔE00 3.66
Rouge
#AB1239
ΔE00 4.93
Lipstick
#D5174E
ΔE00 4.94
Raspberry (survey)
#B00149
ΔE00 4.97
Purplish Red
#B0054B
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA274B #27BA96
analogous
#BA2795 #BA274B #BA4D27
triadic
#BA274B #4BBA27 #274BBA
tetradic
#BA274B #95BA27 #27BA96 #4D27BA
square
#BA274B #95BA27 #27BA96 #4D27BA
split-complementary
#BA274B #27BA4D #2795BA
monochromatic
#551222 #871C37 #BA274B #D8466A #E37993
Accessibility & contrast
On white
6.04
#BA274B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA274B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA274B
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA274B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA274B | 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)
#514F4B
Deuteranopia (green-blind)
#766E47
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba274b; /* rgb */ color: rgb(186, 39, 75); /* oklch */ color: oklch(52.2% 0.182 12.9);
Tailwind
colors: {
custom: {
50: '#d6707d',
500: '#ba274b',
950: '#000000',
},
}SCSS
$custom: #ba274b; $custom-light: #d6707d; $custom-dark: #000000;
JSON
{
"hex": "#ba274b",
"rgb": {
"r": 186,
"g": 39,
"b": 75
},
"hsl": {
"h": 345.306,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52185,
"c": 0.18182,
"h": 12.9
},
"luminance": 0.12398
}Semantic roles & 50–950 ramp
primary
#BA274B
secondary
#72CBB5
accent
#E8BF40
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160809
muted
#847B7B