#BA2777#BA2777
#BA2777 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.194 H 352.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2777 |
|---|---|
| RGB | rgb(186, 39, 119) |
| HSL | hsl(327, 65%, 44%) |
| HSV | hsv(327, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 36%, 27.1%) |
| CIE-LAB | lab(43.10, 62.63, -9.32) |
| CIE-LCH | lch(43.10, 63.32, 351.54°) |
| OKLab | oklab(53.51% 0.1924 -0.0239) |
| OKLCH | oklch(53.51% 0.194 352.9) |
| XYZ | xyz(24.3066, 13.2251, 18.7219) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 2.15
Mediumvioletred
#C71585
ΔE00 3.26
Deep Pink
#CB0162
ΔE00 6.48
Deep Magenta
#A0025C
ΔE00 7.55
Red Violet
#9E0168
ΔE00 7.58
Violet Red
#A50055
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2777 #27BA6A
analogous
#B427BA #BA2777 #BA272E
triadic
#BA2777 #77BA27 #2777BA
tetradic
#BA2777 #BAB427 #27BA6A #272EBA
square
#BA2777 #BAB427 #27BA6A #272EBA
split-complementary
#BA2777 #2EBA27 #27BAB4
monochromatic
#551236 #871C57 #BA2777 #D84696 #E379B2
Accessibility & contrast
On white
5.76
#BA2777 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#BA2777 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2777
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2777 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2777 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445579
Deuteranopia (green-blind)
#6E6F74
Tritanopia (blue-blind)
#C9154C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2777; /* rgb */ color: rgb(186, 39, 119); /* oklch */ color: oklch(53.5% 0.194 352.9);
Tailwind
colors: {
custom: {
50: '#d4719e',
500: '#ba2777',
950: '#000000',
},
}SCSS
$custom: #ba2777; $custom-light: #d4719e; $custom-dark: #000000;
JSON
{
"hex": "#ba2777",
"rgb": {
"r": 186,
"g": 39,
"b": 119
},
"hsl": {
"h": 327.347,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.53513,
"c": 0.19384,
"h": 352.9
},
"luminance": 0.13222
}Semantic roles & 50–950 ramp
primary
#BA2777
secondary
#72CB9A
accent
#E88C40
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E