#BA306E#BA306E
#BA306E is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.181 H 358.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #BA306E |
|---|---|
| RGB | rgb(186, 48, 110) |
| HSL | hsl(333, 59%, 46%) |
| HSV | hsv(333, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 40.9%, 27.1%) |
| CIE-LAB | lab(43.77, 58.92, -2.74) |
| CIE-LCH | lch(43.77, 58.99, 357.33°) |
| OKLab | oklab(53.91% 0.1809 -0.0065) |
| OKLCH | oklch(53.91% 0.181 358) |
| XYZ | xyz(24.1228, 13.6818, 16.1194) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.44
Deep Pink
#CB0162
ΔE00 4.52
Mediumvioletred
#C71585
ΔE00 5.72
Dark Hot Pink
#D90166
ΔE00 6.27
Light Burgundy
#A8415B
ΔE00 6.71
Dark Pink
#CB416B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA306E #30BA7C
analogous
#BA30B3 #BA306E #BA3730
triadic
#BA306E #6EBA30 #306EBA
tetradic
#BA306E #B3BA30 #30BA7C #3730BA
square
#BA306E #B3BA30 #30BA7C #3730BA
split-complementary
#BA306E #30BA37 #30B3BA
monochromatic
#591734 #892351 #BA306E #D3548D #DF85AE
Accessibility & contrast
On white
5.62
#BA306E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#BA306E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA306E
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA306E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA306E | 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)
#4D5770
Deuteranopia (green-blind)
#73716B
Tritanopia (blue-blind)
#C91D4B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba306e; /* rgb */ color: rgb(186, 48, 110); /* oklch */ color: oklch(53.9% 0.181 358.0);
Tailwind
colors: {
custom: {
50: '#d47597',
500: '#ba306e',
950: '#000000',
},
}SCSS
$custom: #ba306e; $custom-light: #d47597; $custom-dark: #000000;
JSON
{
"hex": "#ba306e",
"rgb": {
"r": 186,
"g": 48,
"b": 110
},
"hsl": {
"h": 333.043,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.53906,
"c": 0.18105,
"h": 358
},
"luminance": 0.13679
}Semantic roles & 50–950 ramp
primary
#BA306E
secondary
#7DC9A7
accent
#E29C46
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E