#BA3851#BA3851
#BA3851 is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.9% C 0.166 H 13.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3851 |
|---|---|
| RGB | rgb(186, 56, 81) |
| HSL | hsl(348, 54%, 47%) |
| HSV | hsv(348, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 56.5%, 27.1%) |
| CIE-LAB | lab(44.04, 53.47, 15.63) |
| CIE-LCH | lch(44.04, 55.71, 16.29°) |
| OKLab | oklab(53.85% 0.1611 0.039) |
| OKLCH | oklch(53.85% 0.166 13.6) |
| XYZ | xyz(23.1512, 13.8647, 9.2401) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.49
Ruby
#CA0147
ΔE00 4.37
Lipstick
#D5174E
ΔE00 4.79
Dusty Red
#B9484E
ΔE00 4.82
Light Burgundy
#A8415B
ΔE00 5.02
Light Maroon
#A24857
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3851 #38BAA1
analogous
#BA3892 #BA3851 #BA6038
triadic
#BA3851 #51BA38 #3851BA
tetradic
#BA3851 #92BA38 #38BAA1 #6038BA
square
#BA3851 #92BA38 #38BAA1 #6038BA
split-complementary
#BA3851 #38BA60 #3892BA
monochromatic
#5C1C28 #8B2A3D #BA3851 #CF6075 #DD8F9E
Accessibility & contrast
On white
5.57
#BA3851 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#BA3851 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3851
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3851 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595751
Deuteranopia (green-blind)
#7A724E
Tritanopia (blue-blind)
#CB1A42
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3851; /* rgb */ color: rgb(186, 56, 81); /* oklch */ color: oklch(53.9% 0.166 13.6);
Tailwind
colors: {
custom: {
50: '#d57781',
500: '#ba3851',
950: '#000000',
},
}SCSS
$custom: #ba3851; $custom-light: #d57781; $custom-dark: #000000;
JSON
{
"hex": "#ba3851",
"rgb": {
"r": 186,
"g": 56,
"b": 81
},
"hsl": {
"h": 348.462,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.53851,
"c": 0.16579,
"h": 13.6
},
"luminance": 0.13862
}Semantic roles & 50–950 ramp
primary
#BA3851
secondary
#86C8BB
accent
#DDC14B
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#15090A
muted
#837B7C