#BA2D66#BA2D66
#BA2D66 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.181 H 1.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2D66 |
|---|---|
| RGB | rgb(186, 45, 102) |
| HSL | hsl(336, 61%, 45%) |
| HSV | hsv(336, 76%, 73%) |
| CMYK | cmyk(0%, 75.8%, 45.2%, 27.1%) |
| CIE-LAB | lab(43.18, 59.13, 1.36) |
| CIE-LCH | lch(43.18, 59.14, 1.31°) |
| OKLab | oklab(53.39% 0.1814 0.0042) |
| OKLCH | oklch(53.39% 0.181 1.3) |
| XYZ | xyz(23.5882, 13.2783, 13.8886) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.36
Light Burgundy
#A8415B
ΔE00 5.43
Dark Hot Pink
#D90166
ΔE00 5.49
Magenta (survey)
#C20078
ΔE00 5.78
Dark Pink
#CB416B
ΔE00 6.18
Purplish Red
#B0054B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2D66 #2DBA81
analogous
#BA2DAC #BA2D66 #BA3B2D
triadic
#BA2D66 #66BA2D #2D66BA
tetradic
#BA2D66 #ACBA2D #2DBA81 #3B2DBA
square
#BA2D66 #ACBA2D #2DBA81 #3B2DBA
split-complementary
#BA2D66 #2DBA3B #2DACBA
monochromatic
#571530 #89214B #BA2D66 #D55085 #E081A8
Accessibility & contrast
On white
5.75
#BA2D66 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#BA2D66 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2D66
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2D66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2D66 | 1.00 | 5.75 | 3.66 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5567
Deuteranopia (green-blind)
#737063
Tritanopia (blue-blind)
#CA1146
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2d66; /* rgb */ color: rgb(186, 45, 102); /* oklch */ color: oklch(53.4% 0.181 1.3);
Tailwind
colors: {
custom: {
50: '#d47391',
500: '#ba2d66',
950: '#000000',
},
}SCSS
$custom: #ba2d66; $custom-light: #d47391; $custom-dark: #000000;
JSON
{
"hex": "#ba2d66",
"rgb": {
"r": 186,
"g": 45,
"b": 102
},
"hsl": {
"h": 335.745,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.5339,
"c": 0.18147,
"h": 1.3
},
"luminance": 0.13275
}Semantic roles & 50–950 ramp
primary
#BA2D66
secondary
#79C9A9
accent
#E4A344
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D