#BA3166#BA3166
#BA3166 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.177 H 1.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3166 |
|---|---|
| RGB | rgb(186, 49, 102) |
| HSL | hsl(337, 58%, 46%) |
| HSV | hsv(337, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 45.2%, 27.1%) |
| CIE-LAB | lab(43.65, 57.80, 2.04) |
| CIE-LCH | lch(43.65, 57.84, 2.02°) |
| OKLab | oklab(53.74% 0.1772 0.0059) |
| OKLCH | oklch(53.74% 0.177 1.9) |
| XYZ | xyz(23.7482, 13.5981, 13.9419) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.54
Light Burgundy
#A8415B
ΔE00 5.01
Dark Hot Pink
#D90166
ΔE00 5.38
Dark Pink
#CB416B
ΔE00 5.63
Magenta (survey)
#C20078
ΔE00 6.30
Dark Rose
#B5485D
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3166 #31BA85
analogous
#BA31AA #BA3166 #BA4031
triadic
#BA3166 #66BA31 #3166BA
tetradic
#BA3166 #AABA31 #31BA85 #4031BA
square
#BA3166 #AABA31 #31BA85 #4031BA
split-complementary
#BA3166 #31BA40 #31AABA
monochromatic
#591731 #8A244B #BA3166 #D25686 #DF86A9
Accessibility & contrast
On white
5.65
#BA3166 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#BA3166 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3166
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3166 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505667
Deuteranopia (green-blind)
#757163
Tritanopia (blue-blind)
#CA1948
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3166; /* rgb */ color: rgb(186, 49, 102); /* oklch */ color: oklch(53.7% 0.177 1.9);
Tailwind
colors: {
custom: {
50: '#d47591',
500: '#ba3166',
950: '#000000',
},
}SCSS
$custom: #ba3166; $custom-light: #d47591; $custom-dark: #000000;
JSON
{
"hex": "#ba3166",
"rgb": {
"r": 186,
"g": 49,
"b": 102
},
"hsl": {
"h": 336.788,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53737,
"c": 0.17728,
"h": 1.9
},
"luminance": 0.13595
}Semantic roles & 50–950 ramp
primary
#BA3166
secondary
#7EC9AC
accent
#E2A546
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D