#BA3062#BA3062
#BA3062 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.177 H 3.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3062 |
|---|---|
| RGB | rgb(186, 48, 98) |
| HSL | hsl(338, 59%, 46%) |
| HSV | hsv(338, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 47.3%, 27.1%) |
| CIE-LAB | lab(43.42, 57.77, 4.19) |
| CIE-LCH | lch(43.42, 57.93, 4.15°) |
| OKLab | oklab(53.53% 0.1769 0.0113) |
| OKLCH | oklch(53.53% 0.177 3.7) |
| XYZ | xyz(23.5132, 13.4380, 12.9085) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.38
Light Burgundy
#A8415B
ΔE00 4.47
Dark Hot Pink
#D90166
ΔE00 5.23
Dark Pink
#CB416B
ΔE00 5.49
Dark Rose
#B5485D
ΔE00 5.86
Purplish Red
#B0054B
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3062 #30BA88
analogous
#BA30A7 #BA3062 #BA4330
triadic
#BA3062 #62BA30 #3062BA
tetradic
#BA3062 #A7BA30 #30BA88 #4330BA
square
#BA3062 #A7BA30 #30BA88 #4330BA
split-complementary
#BA3062 #30BA43 #30A7BA
monochromatic
#59172F #892348 #BA3062 #D35482 #DF85A6
Accessibility & contrast
On white
5.70
#BA3062 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#BA3062 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3062
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3062 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3062 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505563
Deuteranopia (green-blind)
#75705F
Tritanopia (blue-blind)
#CA1445
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3062; /* rgb */ color: rgb(186, 48, 98); /* oklch */ color: oklch(53.5% 0.177 3.7);
Tailwind
colors: {
custom: {
50: '#d4748e',
500: '#ba3062',
950: '#000000',
},
}SCSS
$custom: #ba3062; $custom-light: #d4748e; $custom-dark: #000000;
JSON
{
"hex": "#ba3062",
"rgb": {
"r": 186,
"g": 48,
"b": 98
},
"hsl": {
"h": 338.261,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.53527,
"c": 0.17722,
"h": 3.7
},
"luminance": 0.13435
}Semantic roles & 50–950 ramp
primary
#BA3062
secondary
#7DC9AD
accent
#E2A946
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D