#BA2866#BA2866
#BA2866 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.186 H 0.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2866 |
|---|---|
| RGB | rgb(186, 40, 102) |
| HSL | hsl(335, 65%, 44%) |
| HSV | hsv(335, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 45.2%, 27.1%) |
| CIE-LAB | lab(42.64, 60.65, 0.57) |
| CIE-LCH | lch(42.64, 60.65, 0.54°) |
| OKLab | oklab(53% 0.1863 0.0022) |
| OKLCH | oklch(53% 0.186 0.7) |
| XYZ | xyz(23.4087, 12.9191, 13.8288) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.30
Magenta (survey)
#C20078
ΔE00 5.22
Dark Hot Pink
#D90166
ΔE00 5.70
Light Burgundy
#A8415B
ΔE00 5.94
Purplish Red
#B0054B
ΔE00 6.30
Violet Red
#A50055
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2866 #28BA7C
analogous
#BA28AF #BA2866 #BA3328
triadic
#BA2866 #66BA28 #2866BA
tetradic
#BA2866 #AFBA28 #28BA7C #3328BA
square
#BA2866 #AFBA28 #28BA7C #3328BA
split-complementary
#BA2866 #28BA33 #28AFBA
monochromatic
#55122F #881D4A #BA2866 #D84885 #E27AA6
Accessibility & contrast
On white
5.86
#BA2866 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA2866 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2866
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2866 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2866 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5367
Deuteranopia (green-blind)
#726F63
Tritanopia (blue-blind)
#CA0344
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2866; /* rgb */ color: rgb(186, 40, 102); /* oklch */ color: oklch(53.0% 0.186 0.7);
Tailwind
colors: {
custom: {
50: '#d47191',
500: '#ba2866',
950: '#000000',
},
}SCSS
$custom: #ba2866; $custom-light: #d47191; $custom-dark: #000000;
JSON
{
"hex": "#ba2866",
"rgb": {
"r": 186,
"g": 40,
"b": 102
},
"hsl": {
"h": 334.521,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52995,
"c": 0.18632,
"h": 0.7
},
"luminance": 0.12916
}Semantic roles & 50–950 ramp
primary
#BA2866
secondary
#73CAA5
accent
#E8A140
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D