#BA3151#BA3151
#BA3151 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.2% C 0.173 H 12.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3151 |
|---|---|
| RGB | rgb(186, 49, 81) |
| HSL | hsl(346, 58%, 46%) |
| HSV | hsv(346, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 56.5%, 27.1%) |
| CIE-LAB | lab(43.11, 56.04, 14.36) |
| CIE-LCH | lch(43.11, 57.85, 14.38°) |
| OKLab | oklab(53.16% 0.1694 0.036) |
| OKLCH | oklch(53.16% 0.173 12) |
| XYZ | xyz(22.8354, 13.2330, 9.1348) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.87
Dark Rose
#B5485D
ΔE00 4.18
Light Burgundy
#A8415B
ΔE00 4.70
Lipstick
#D5174E
ΔE00 4.89
Rose Red
#BE013C
ΔE00 5.14
Light Maroon
#A24857
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3151 #31BA9A
analogous
#BA3195 #BA3151 #BA5531
triadic
#BA3151 #51BA31 #3151BA
tetradic
#BA3151 #95BA31 #31BA9A #5531BA
square
#BA3151 #95BA31 #31BA9A #5531BA
split-complementary
#BA3151 #31BA55 #3195BA
monochromatic
#591727 #8A243C #BA3151 #D25673 #DF869B
Accessibility & contrast
On white
5.76
#BA3151 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#BA3151 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3151
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3151 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555451
Deuteranopia (green-blind)
#78704E
Tritanopia (blue-blind)
#CB073E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba3151; /* rgb */ color: rgb(186, 49, 81); /* oklch */ color: oklch(53.2% 0.173 12.0);
Tailwind
colors: {
custom: {
50: '#d57481',
500: '#ba3151',
950: '#000000',
},
}SCSS
$custom: #ba3151; $custom-light: #d57481; $custom-dark: #000000;
JSON
{
"hex": "#ba3151",
"rgb": {
"r": 186,
"g": 49,
"b": 81
},
"hsl": {
"h": 345.985,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53163,
"c": 0.17314,
"h": 12
},
"luminance": 0.1323
}Semantic roles & 50–950 ramp
primary
#BA3151
secondary
#7EC9B7
accent
#E2BD46
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C