#BA2774#BA2774
#BA2774 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.193 H 354.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2774 |
|---|---|
| RGB | rgb(186, 39, 116) |
| HSL | hsl(329, 65%, 44%) |
| HSV | hsv(329, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 37.6%, 27.1%) |
| CIE-LAB | lab(42.99, 62.31, -7.62) |
| CIE-LCH | lch(42.99, 62.77, 353.03°) |
| OKLab | oklab(53.4% 0.1915 -0.0193) |
| OKLCH | oklch(53.4% 0.193 354.2) |
| XYZ | xyz(24.1292, 13.1541, 17.7880) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 2.39
Mediumvioletred
#C71585
ΔE00 3.82
Deep Pink
#CB0162
ΔE00 5.86
Deep Magenta
#A0025C
ΔE00 7.34
Violet Red
#A50055
ΔE00 7.50
Red Violet
#9E0168
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2774 #27BA6D
analogous
#B727BA #BA2774 #BA272B
triadic
#BA2774 #74BA27 #2774BA
tetradic
#BA2774 #BAB727 #27BA6D #272BBA
square
#BA2774 #BAB727 #27BA6D #272BBA
split-complementary
#BA2774 #2BBA27 #27BAB7
monochromatic
#551235 #871C54 #BA2774 #D84693 #E379B0
Accessibility & contrast
On white
5.78
#BA2774 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#BA2774 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2774
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2774 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2774 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455476
Deuteranopia (green-blind)
#6F6F71
Tritanopia (blue-blind)
#C9124B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2774; /* rgb */ color: rgb(186, 39, 116); /* oklch */ color: oklch(53.4% 0.193 354.2);
Tailwind
colors: {
custom: {
50: '#d4719c',
500: '#ba2774',
950: '#000000',
},
}SCSS
$custom: #ba2774; $custom-light: #d4719c; $custom-dark: #000000;
JSON
{
"hex": "#ba2774",
"rgb": {
"r": 186,
"g": 39,
"b": 116
},
"hsl": {
"h": 328.571,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.53402,
"c": 0.19251,
"h": 354.2
},
"luminance": 0.13151
}Semantic roles & 50–950 ramp
primary
#BA2774
secondary
#72CB9C
accent
#E89040
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E