#BA2865#BA2865
#BA2865 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.186 H 1.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2865 |
|---|---|
| RGB | rgb(186, 40, 101) |
| HSL | hsl(335, 65%, 44%) |
| HSV | hsv(335, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 45.7%, 27.1%) |
| CIE-LAB | lab(42.61, 60.56, 1.15) |
| CIE-LCH | lch(42.61, 60.57, 1.09°) |
| OKLab | oklab(52.96% 0.186 0.0036) |
| OKLCH | oklch(52.96% 0.186 1.1) |
| XYZ | xyz(23.3594, 12.8994, 13.5692) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.19
Magenta (survey)
#C20078
ΔE00 5.47
Dark Hot Pink
#D90166
ΔE00 5.61
Light Burgundy
#A8415B
ΔE00 5.77
Purplish Red
#B0054B
ΔE00 6.10
Violet Red
#A50055
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2865 #28BA7D
analogous
#BA28AE #BA2865 #BA3428
triadic
#BA2865 #65BA28 #2865BA
tetradic
#BA2865 #AEBA28 #28BA7D #3428BA
square
#BA2865 #AEBA28 #28BA7D #3428BA
split-complementary
#BA2865 #28BA34 #28AEBA
monochromatic
#55122E #881D4A #BA2865 #D84884 #E27AA6
Accessibility & contrast
On white
5.87
#BA2865 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA2865 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2865
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2865 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2865 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5366
Deuteranopia (green-blind)
#726F62
Tritanopia (blue-blind)
#CA0243
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2865; /* rgb */ color: rgb(186, 40, 101); /* oklch */ color: oklch(53.0% 0.186 1.1);
Tailwind
colors: {
custom: {
50: '#d57190',
500: '#ba2865',
950: '#000000',
},
}SCSS
$custom: #ba2865; $custom-light: #d57190; $custom-dark: #000000;
JSON
{
"hex": "#ba2865",
"rgb": {
"r": 186,
"g": 40,
"b": 101
},
"hsl": {
"h": 334.932,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52963,
"c": 0.18601,
"h": 1.1
},
"luminance": 0.12896
}Semantic roles & 50–950 ramp
primary
#BA2865
secondary
#73CAA6
accent
#E8A240
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D