#BA3152#BA3152
#BA3152 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.2% C 0.173 H 11.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3152 |
|---|---|
| RGB | rgb(186, 49, 82) |
| HSL | hsl(346, 58%, 46%) |
| HSV | hsv(346, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 55.9%, 27.1%) |
| CIE-LAB | lab(43.13, 56.11, 13.77) |
| CIE-LCH | lch(43.13, 57.78, 13.79°) |
| OKLab | oklab(53.19% 0.1698 0.0346) |
| OKLCH | oklch(53.19% 0.173 11.5) |
| XYZ | xyz(22.8732, 13.2481, 9.3337) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 4.01
Dark Rose
#B5485D
ΔE00 4.13
Light Burgundy
#A8415B
ΔE00 4.53
Lipstick
#D5174E
ΔE00 5.00
Rose Red
#BE013C
ΔE00 5.37
Light Maroon
#A24857
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3152 #31BA99
analogous
#BA3196 #BA3152 #BA5431
triadic
#BA3152 #52BA31 #3152BA
tetradic
#BA3152 #96BA31 #31BA99 #5431BA
square
#BA3152 #96BA31 #31BA99 #5431BA
split-complementary
#BA3152 #31BA54 #3196BA
monochromatic
#591727 #8A243D #BA3152 #D25674 #DF869C
Accessibility & contrast
On white
5.76
#BA3152 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#BA3152 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3152
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3152 | 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)
#555452
Deuteranopia (green-blind)
#78704F
Tritanopia (blue-blind)
#CB083F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba3152; /* rgb */ color: rgb(186, 49, 82); /* oklch */ color: oklch(53.2% 0.173 11.5);
Tailwind
colors: {
custom: {
50: '#d57482',
500: '#ba3152',
950: '#000000',
},
}SCSS
$custom: #ba3152; $custom-light: #d57482; $custom-dark: #000000;
JSON
{
"hex": "#ba3152",
"rgb": {
"r": 186,
"g": 49,
"b": 82
},
"hsl": {
"h": 345.547,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53187,
"c": 0.17324,
"h": 11.5
},
"luminance": 0.13245
}Semantic roles & 50–950 ramp
primary
#BA3152
secondary
#7EC9B7
accent
#E2BC46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C