#BA305E#BA305E
#BA305E is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.176 H 5.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BA305E |
|---|---|
| RGB | rgb(186, 48, 94) |
| HSL | hsl(340, 59%, 46%) |
| HSV | hsv(340, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 49.5%, 27.1%) |
| CIE-LAB | lab(43.31, 57.42, 6.53) |
| CIE-LCH | lch(43.31, 57.79, 6.49°) |
| OKLab | oklab(53.41% 0.1754 0.0172) |
| OKLCH | oklch(53.41% 0.176 5.6) |
| XYZ | xyz(23.3290, 13.3643, 11.9386) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.65
Light Burgundy
#A8415B
ΔE00 4.01
Dark Rose
#B5485D
ΔE00 5.14
Dark Hot Pink
#D90166
ΔE00 5.30
Dark Pink
#CB416B
ΔE00 5.43
Purplish Red
#B0054B
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA305E #30BA8C
analogous
#BA30A3 #BA305E #BA4730
triadic
#BA305E #5EBA30 #305EBA
tetradic
#BA305E #A3BA30 #30BA8C #4730BA
square
#BA305E #A3BA30 #30BA8C #4730BA
split-complementary
#BA305E #30BA47 #30A3BA
monochromatic
#59172D #892345 #BA305E #D3547E #DF85A3
Accessibility & contrast
On white
5.72
#BA305E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#BA305E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA305E
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA305E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA305E | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51555F
Deuteranopia (green-blind)
#76705B
Tritanopia (blue-blind)
#CB1143
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba305e; /* rgb */ color: rgb(186, 48, 94); /* oklch */ color: oklch(53.4% 0.176 5.6);
Tailwind
colors: {
custom: {
50: '#d5748b',
500: '#ba305e',
950: '#000000',
},
}SCSS
$custom: #ba305e; $custom-light: #d5748b; $custom-dark: #000000;
JSON
{
"hex": "#ba305e",
"rgb": {
"r": 186,
"g": 48,
"b": 94
},
"hsl": {
"h": 340,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.53411,
"c": 0.17625,
"h": 5.6
},
"luminance": 0.13361
}Semantic roles & 50–950 ramp
primary
#BA305E
secondary
#7DC9B0
accent
#E2AE46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D