#BA316A#BA316A
#BA316A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.179 H 360.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #BA316A |
|---|---|
| RGB | rgb(186, 49, 106) |
| HSL | hsl(335, 58%, 46%) |
| HSV | hsv(335, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 43%, 27.1%) |
| CIE-LAB | lab(43.77, 58.19, -0.27) |
| CIE-LCH | lch(43.77, 58.19, 359.73°) |
| OKLab | oklab(53.86% 0.1785 0) |
| OKLCH | oklch(53.86% 0.179 0) |
| XYZ | xyz(23.9513, 13.6794, 15.0120) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.93
Magenta (survey)
#C20078
ΔE00 5.39
Dark Hot Pink
#D90166
ΔE00 5.73
Light Burgundy
#A8415B
ΔE00 5.78
Dark Pink
#CB416B
ΔE00 6.07
Mediumvioletred
#C71585
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA316A #31BA81
analogous
#BA31AE #BA316A #BA3C31
triadic
#BA316A #6ABA31 #316ABA
tetradic
#BA316A #AEBA31 #31BA81 #3C31BA
square
#BA316A #AEBA31 #31BA81 #3C31BA
split-complementary
#BA316A #31BA3C #31AEBA
monochromatic
#591733 #8A244E #BA316A #D2568A #DF86AB
Accessibility & contrast
On white
5.62
#BA316A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#BA316A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA316A
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA316A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA316A | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F576B
Deuteranopia (green-blind)
#747167
Tritanopia (blue-blind)
#CA1C49
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba316a; /* rgb */ color: rgb(186, 49, 106); /* oklch */ color: oklch(53.9% 0.179 360.0);
Tailwind
colors: {
custom: {
50: '#d47594',
500: '#ba316a',
950: '#000000',
},
}SCSS
$custom: #ba316a; $custom-light: #d47594; $custom-dark: #000000;
JSON
{
"hex": "#ba316a",
"rgb": {
"r": 186,
"g": 49,
"b": 106
},
"hsl": {
"h": 335.036,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53863,
"c": 0.17854,
"h": 360
},
"luminance": 0.13676
}Semantic roles & 50–950 ramp
primary
#BA316A
secondary
#7EC9AA
accent
#E2A146
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E