#BA2756#BA2756
#BA2756 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.183 H 7.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2756 |
|---|---|
| RGB | rgb(186, 39, 86) |
| HSL | hsl(341, 65%, 44%) |
| HSV | hsv(341, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 53.8%, 27.1%) |
| CIE-LAB | lab(42.10, 59.59, 9.83) |
| CIE-LCH | lch(42.10, 60.39, 9.37°) |
| OKLab | oklab(52.45% 0.1815 0.0252) |
| OKLCH | oklch(52.45% 0.183 7.9) |
| XYZ | xyz(22.6571, 12.5653, 10.0346) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.06
Deep Pink
#CB0162
ΔE00 4.14
Raspberry (survey)
#B00149
ΔE00 4.27
Light Burgundy
#A8415B
ΔE00 4.54
Ruby
#CA0147
ΔE00 5.08
Dark Rose
#B5485D
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2756 #27BA8B
analogous
#BA27A0 #BA2756 #BA4127
triadic
#BA2756 #56BA27 #2756BA
tetradic
#BA2756 #A0BA27 #27BA8B #4127BA
square
#BA2756 #A0BA27 #27BA8B #4127BA
split-complementary
#BA2756 #27BA41 #27A0BA
monochromatic
#551227 #871C3F #BA2756 #D84675 #E3799B
Accessibility & contrast
On white
5.98
#BA2756 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#BA2756 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2756
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2756 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2756 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5157
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2756; /* rgb */ color: rgb(186, 39, 86); /* oklch */ color: oklch(52.5% 0.183 7.9);
Tailwind
colors: {
custom: {
50: '#d57085',
500: '#ba2756',
950: '#000000',
},
}SCSS
$custom: #ba2756; $custom-light: #d57085; $custom-dark: #000000;
JSON
{
"hex": "#ba2756",
"rgb": {
"r": 186,
"g": 39,
"b": 86
},
"hsl": {
"h": 340.816,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52454,
"c": 0.18325,
"h": 7.9
},
"luminance": 0.12562
}Semantic roles & 50–950 ramp
primary
#BA2756
secondary
#72CBAE
accent
#E8B240
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C