#BA2779#BA2779
#BA2779 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.195 H 352.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2779 |
|---|---|
| RGB | rgb(186, 39, 121) |
| HSL | hsl(327, 65%, 44%) |
| HSV | hsv(327, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 34.9%, 27.1%) |
| CIE-LAB | lab(43.17, 62.84, -10.44) |
| CIE-LCH | lch(43.17, 63.70, 350.56°) |
| OKLab | oklab(53.59% 0.1929 -0.027) |
| OKLCH | oklch(53.59% 0.195 352) |
| XYZ | xyz(24.4279, 13.2736, 19.3611) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 2.11
Mediumvioletred
#C71585
ΔE00 2.93
Deep Pink
#CB0162
ΔE00 6.90
Red Violet
#9E0168
ΔE00 7.55
Deep Magenta
#A0025C
ΔE00 7.73
Violet Red
#A50055
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2779 #27BA68
analogous
#B227BA #BA2779 #BA272F
triadic
#BA2779 #79BA27 #2779BA
tetradic
#BA2779 #BAB227 #27BA68 #272FBA
square
#BA2779 #BAB227 #27BA68 #272FBA
split-complementary
#BA2779 #2FBA27 #27BAB2
monochromatic
#551237 #871C58 #BA2779 #D84698 #E379B4
Accessibility & contrast
On white
5.75
#BA2779 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#BA2779 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2779
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2779 | 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)
#43557B
Deuteranopia (green-blind)
#6D6F76
Tritanopia (blue-blind)
#C8174D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2779; /* rgb */ color: rgb(186, 39, 121); /* oklch */ color: oklch(53.6% 0.195 352.0);
Tailwind
colors: {
custom: {
50: '#d4719f',
500: '#ba2779',
950: '#000000',
},
}SCSS
$custom: #ba2779; $custom-light: #d4719f; $custom-dark: #000000;
JSON
{
"hex": "#ba2779",
"rgb": {
"r": 186,
"g": 39,
"b": 121
},
"hsl": {
"h": 326.531,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.5359,
"c": 0.19476,
"h": 352
},
"luminance": 0.13271
}Semantic roles & 50–950 ramp
primary
#BA2779
secondary
#72CB99
accent
#E88A40
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E