#BA305B#BA305B
#BA305B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.176 H 7.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA305B |
|---|---|
| RGB | rgb(186, 48, 91) |
| HSL | hsl(341, 59%, 46%) |
| HSV | hsv(341, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 51.1%, 27.1%) |
| CIE-LAB | lab(43.23, 57.17, 8.29) |
| CIE-LCH | lch(43.23, 57.77, 8.25°) |
| OKLab | oklab(53.33% 0.1743 0.0215) |
| OKLCH | oklch(53.33% 0.176 7) |
| XYZ | xyz(23.1970, 13.3115, 11.2434) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.86
Deep Pink
#CB0162
ΔE00 4.07
Dark Rose
#B5485D
ΔE00 4.71
Purplish Red
#B0054B
ΔE00 5.26
Raspberry (survey)
#B00149
ΔE00 5.52
Dark Hot Pink
#D90166
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA305B #30BA8F
analogous
#BA30A0 #BA305B #BA4A30
triadic
#BA305B #5BBA30 #305BBA
tetradic
#BA305B #A0BA30 #30BA8F #4A30BA
square
#BA305B #A0BA30 #30BA8F #4A30BA
split-complementary
#BA305B #30BA4A #30A0BA
monochromatic
#59172B #892343 #BA305B #D3547C #DF85A1
Accessibility & contrast
On white
5.74
#BA305B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#BA305B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA305B
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA305B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA305B | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52555C
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#CB0E42
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba305b; /* rgb */ color: rgb(186, 48, 91); /* oklch */ color: oklch(53.3% 0.176 7.0);
Tailwind
colors: {
custom: {
50: '#d57489',
500: '#ba305b',
950: '#000000',
},
}SCSS
$custom: #ba305b; $custom-light: #d57489; $custom-dark: #000000;
JSON
{
"hex": "#ba305b",
"rgb": {
"r": 186,
"g": 48,
"b": 91
},
"hsl": {
"h": 341.304,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.53328,
"c": 0.17562,
"h": 7
},
"luminance": 0.13308
}Semantic roles & 50–950 ramp
primary
#BA305B
secondary
#7DC9B1
accent
#E2B146
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C