#BA2957#BA2957
#BA2957 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.182 H 7.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2957 |
|---|---|
| RGB | rgb(186, 41, 87) |
| HSL | hsl(341, 64%, 45%) |
| HSV | hsv(341, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 53.2%, 27.1%) |
| CIE-LAB | lab(42.33, 59.08, 9.53) |
| CIE-LCH | lch(42.33, 59.84, 9.16°) |
| OKLab | oklab(52.63% 0.18 0.0245) |
| OKLCH | oklch(52.63% 0.182 7.7) |
| XYZ | xyz(22.7651, 12.7163, 10.2707) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.10
Purplish Red
#B0054B
ΔE00 4.29
Light Burgundy
#A8415B
ΔE00 4.37
Raspberry (survey)
#B00149
ΔE00 4.52
Ruby
#CA0147
ΔE00 5.23
Dark Rose
#B5485D
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2957 #29BA8C
analogous
#BA299F #BA2957 #BA4429
triadic
#BA2957 #57BA29 #2957BA
tetradic
#BA2957 #9FBA29 #29BA8C #4429BA
square
#BA2957 #9FBA29 #29BA8C #4429BA
split-complementary
#BA2957 #29BA44 #299FBA
monochromatic
#561328 #881E40 #BA2957 #D74976 #E27B9C
Accessibility & contrast
On white
5.93
#BA2957 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA2957 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2957
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2957 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5158
Deuteranopia (green-blind)
#756E53
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2957; /* rgb */ color: rgb(186, 41, 87); /* oklch */ color: oklch(52.6% 0.182 7.7);
Tailwind
colors: {
custom: {
50: '#d57186',
500: '#ba2957',
950: '#000000',
},
}SCSS
$custom: #ba2957; $custom-light: #d57186; $custom-dark: #000000;
JSON
{
"hex": "#ba2957",
"rgb": {
"r": 186,
"g": 41,
"b": 87
},
"hsl": {
"h": 340.966,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52633,
"c": 0.18166,
"h": 7.7
},
"luminance": 0.12713
}Semantic roles & 50–950 ramp
primary
#BA2957
secondary
#75CAAF
accent
#E7B241
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C