#BA2D6F#BA2D6F
#BA2D6F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.185 H 357.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2D6F |
|---|---|
| RGB | rgb(186, 45, 111) |
| HSL | hsl(332, 61%, 45%) |
| HSV | hsv(332, 76%, 73%) |
| CMYK | cmyk(0%, 75.8%, 40.3%, 27.1%) |
| CIE-LAB | lab(43.46, 60.00, -3.83) |
| CIE-LCH | lch(43.46, 60.13, 356.35°) |
| OKLab | oklab(53.69% 0.1844 -0.0093) |
| OKLCH | oklch(53.69% 0.185 357.1) |
| XYZ | xyz(24.0590, 13.4666, 16.3682) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.85
Deep Pink
#CB0162
ΔE00 4.71
Mediumvioletred
#C71585
ΔE00 5.24
Dark Hot Pink
#D90166
ΔE00 6.56
Light Burgundy
#A8415B
ΔE00 7.20
Violet Red
#A50055
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2D6F #2DBA78
analogous
#BA2DB5 #BA2D6F #BA322D
triadic
#BA2D6F #6FBA2D #2D6FBA
tetradic
#BA2D6F #B5BA2D #2DBA78 #322DBA
square
#BA2D6F #B5BA2D #2DBA78 #322DBA
split-complementary
#BA2D6F #2DBA32 #2DB5BA
monochromatic
#571534 #892152 #BA2D6F #D5508E #E081AE
Accessibility & contrast
On white
5.69
#BA2D6F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#BA2D6F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2D6F
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2D6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2D6F | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5671
Deuteranopia (green-blind)
#72706C
Tritanopia (blue-blind)
#C9184A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba2d6f; /* rgb */ color: rgb(186, 45, 111); /* oklch */ color: oklch(53.7% 0.185 357.1);
Tailwind
colors: {
custom: {
50: '#d47398',
500: '#ba2d6f',
950: '#000000',
},
}SCSS
$custom: #ba2d6f; $custom-light: #d47398; $custom-dark: #000000;
JSON
{
"hex": "#ba2d6f",
"rgb": {
"r": 186,
"g": 45,
"b": 111
},
"hsl": {
"h": 331.915,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.53686,
"c": 0.18459,
"h": 357.1
},
"luminance": 0.13464
}Semantic roles & 50–950 ramp
primary
#BA2D6F
secondary
#79C9A4
accent
#E49944
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E