#BA3157#BA3157
#BA3157 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.174 H 9.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3157 |
|---|---|
| RGB | rgb(186, 49, 87) |
| HSL | hsl(343, 58%, 46%) |
| HSV | hsv(343, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 53.2%, 27.1%) |
| CIE-LAB | lab(43.25, 56.50, 10.82) |
| CIE-LCH | lch(43.25, 57.53, 10.84°) |
| OKLab | oklab(53.31% 0.1717 0.0276) |
| OKLCH | oklch(53.31% 0.174 9.1) |
| XYZ | xyz(23.0704, 13.3270, 10.3725) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.91
Dark Rose
#B5485D
ΔE00 4.15
Ruby
#CA0147
ΔE00 4.96
Deep Pink
#CB0162
ΔE00 4.98
Purplish Red
#B0054B
ΔE00 5.33
Raspberry (survey)
#B00149
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3157 #31BA94
analogous
#BA319B #BA3157 #BA4F31
triadic
#BA3157 #57BA31 #3157BA
tetradic
#BA3157 #9BBA31 #31BA94 #4F31BA
square
#BA3157 #9BBA31 #31BA94 #4F31BA
split-complementary
#BA3157 #31BA4F #319BBA
monochromatic
#59172A #8A2440 #BA3157 #D25678 #DF869F
Accessibility & contrast
On white
5.73
#BA3157 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#BA3157 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3157
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3157 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545558
Deuteranopia (green-blind)
#777054
Tritanopia (blue-blind)
#CB0D41
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba3157; /* rgb */ color: rgb(186, 49, 87); /* oklch */ color: oklch(53.3% 0.174 9.1);
Tailwind
colors: {
custom: {
50: '#d57486',
500: '#ba3157',
950: '#000000',
},
}SCSS
$custom: #ba3157; $custom-light: #d57486; $custom-dark: #000000;
JSON
{
"hex": "#ba3157",
"rgb": {
"r": 186,
"g": 49,
"b": 87
},
"hsl": {
"h": 343.358,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53312,
"c": 0.17389,
"h": 9.1
},
"luminance": 0.13324
}Semantic roles & 50–950 ramp
primary
#BA3157
secondary
#7EC9B4
accent
#E2B646
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C