#BA1D5F#BA1D5F
#BA1D5F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.193 H 2.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #BA1D5F |
|---|---|
| RGB | rgb(186, 29, 95) |
| HSL | hsl(335, 73%, 42%) |
| HSV | hsv(335, 84%, 73%) |
| CMYK | cmyk(0%, 84.4%, 48.9%, 27.1%) |
| CIE-LAB | lab(41.45, 62.85, 3.24) |
| CIE-LCH | lch(41.45, 62.93, 2.95°) |
| OKLab | oklab(52.05% 0.193 0.0089) |
| OKLCH | oklch(52.05% 0.193 2.6) |
| XYZ | xyz(22.7566, 12.1473, 11.9706) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.91
Purplish Red
#B0054B
ΔE00 4.69
Raspberry (survey)
#B00149
ΔE00 5.13
Violet Red
#A50055
ΔE00 5.46
Dark Hot Pink
#D90166
ΔE00 5.77
Light Burgundy
#A8415B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA1D5F #1DBA78
analogous
#BA1DAE #BA1D5F #BA2A1D
triadic
#BA1D5F #5FBA1D #1D5FBA
tetradic
#BA1D5F #AEBA1D #1DBA78 #2A1DBA
square
#BA1D5F #AEBA1D #1DBA78 #2A1DBA
split-complementary
#BA1D5F #1DBA2A #1DAEBA
monochromatic
#500C29 #851544 #BA1D5F #DF357D #E86A9F
Accessibility & contrast
On white
6.12
#BA1D5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#BA1D5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA1D5F
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA1D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA1D5F | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#716C5B
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba1d5f; /* rgb */ color: rgb(186, 29, 95); /* oklch */ color: oklch(52.1% 0.193 2.6);
Tailwind
colors: {
custom: {
50: '#d56d8c',
500: '#ba1d5f',
950: '#000000',
},
}SCSS
$custom: #ba1d5f; $custom-light: #d56d8c; $custom-dark: #000000;
JSON
{
"hex": "#ba1d5f",
"rgb": {
"r": 186,
"g": 29,
"b": 95
},
"hsl": {
"h": 334.777,
"s": 73.023,
"l": 42.157
},
"oklch": {
"l": 0.52055,
"c": 0.19321,
"h": 2.6
},
"luminance": 0.12144
}Semantic roles & 50–950 ramp
primary
#BA1D5F
secondary
#65CDA2
accent
#F0A338
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D