#BA4151#BA4151
#BA4151 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.9% C 0.156 H 16.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4151 |
|---|---|
| RGB | rgb(186, 65, 81) |
| HSL | hsl(352, 48%, 49%) |
| HSV | hsv(352, 65%, 73%) |
| CMYK | cmyk(0%, 65.1%, 56.5%, 27.1%) |
| CIE-LAB | lab(45.38, 49.81, 17.44) |
| CIE-LCH | lch(45.38, 52.77, 19.30°) |
| OKLab | oklab(54.85% 0.1494 0.0433) |
| OKLCH | oklch(54.85% 0.156 16.1) |
| XYZ | xyz(23.6273, 14.8169, 9.3988) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.68
Dark Rose
#B5485D
ΔE00 3.50
Lipstick
#D5174E
ΔE00 5.43
Light Maroon
#A24857
ΔE00 5.48
Dull Red
#BB3F3F
ΔE00 5.60
Ruby
#CA0147
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4151 #41BAAA
analogous
#BA418E #BA4151 #BA6E41
triadic
#BA4151 #51BA41 #4151BA
tetradic
#BA4151 #8EBA41 #41BAAA #6E41BA
square
#BA4151 #8EBA41 #41BAAA #6E41BA
split-complementary
#BA4151 #41BA6E #418EBA
monochromatic
#5F212A #8D313D #BA4151 #CC6C79 #DC9AA2
Accessibility & contrast
On white
5.30
#BA4151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#BA4151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4151
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4151 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5C51
Deuteranopia (green-blind)
#7E754E
Tritanopia (blue-blind)
#CB2A47
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba4151; /* rgb */ color: rgb(186, 65, 81); /* oklch */ color: oklch(54.9% 0.156 16.1);
Tailwind
colors: {
custom: {
50: '#d57c81',
500: '#ba4151',
950: '#000000',
},
}SCSS
$custom: #ba4151; $custom-light: #d57c81; $custom-dark: #000000;
JSON
{
"hex": "#ba4151",
"rgb": {
"r": 186,
"g": 65,
"b": 81
},
"hsl": {
"h": 352.066,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.54853,
"c": 0.15558,
"h": 16.1
},
"luminance": 0.14814
}Semantic roles & 50–950 ramp
primary
#BA4151
secondary
#8FC8C0
accent
#D8C650
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C