#BA2778#BA2778
#BA2778 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.6% C 0.194 H 352.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2778 |
|---|---|
| RGB | rgb(186, 39, 120) |
| HSL | hsl(327, 65%, 44%) |
| HSV | hsv(327, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 35.5%, 27.1%) |
| CIE-LAB | lab(43.14, 62.73, -9.88) |
| CIE-LCH | lch(43.14, 63.51, 351.05°) |
| OKLab | oklab(53.55% 0.1926 -0.0254) |
| OKLCH | oklch(53.55% 0.194 352.5) |
| XYZ | xyz(24.3669, 13.2492, 19.0398) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 2.12
Mediumvioletred
#C71585
ΔE00 3.09
Deep Pink
#CB0162
ΔE00 6.69
Red Violet
#9E0168
ΔE00 7.56
Deep Magenta
#A0025C
ΔE00 7.64
Violet Red
#A50055
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2778 #27BA69
analogous
#B327BA #BA2778 #BA272F
triadic
#BA2778 #78BA27 #2778BA
tetradic
#BA2778 #BAB327 #27BA69 #272FBA
square
#BA2778 #BAB327 #27BA69 #272FBA
split-complementary
#BA2778 #2FBA27 #27BAB3
monochromatic
#551237 #871C57 #BA2778 #D84697 #E379B3
Accessibility & contrast
On white
5.75
#BA2778 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#BA2778 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2778
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2778 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2778 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#6E6F75
Tritanopia (blue-blind)
#C9164D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2778; /* rgb */ color: rgb(186, 39, 120); /* oklch */ color: oklch(53.6% 0.194 352.5);
Tailwind
colors: {
custom: {
50: '#d4719f',
500: '#ba2778',
950: '#000000',
},
}SCSS
$custom: #ba2778; $custom-light: #d4719f; $custom-dark: #000000;
JSON
{
"hex": "#ba2778",
"rgb": {
"r": 186,
"g": 39,
"b": 120
},
"hsl": {
"h": 326.939,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.53551,
"c": 0.1943,
"h": 352.5
},
"luminance": 0.13246
}Semantic roles & 50–950 ramp
primary
#BA2778
secondary
#72CB9A
accent
#E88B40
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E