#BA4062#BA4062
#BA4062 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.2% C 0.159 H 7.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4062 |
|---|---|
| RGB | rgb(186, 64, 98) |
| HSL | hsl(343, 49%, 49%) |
| HSV | hsv(343, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 47.3%, 27.1%) |
| CIE-LAB | lab(45.62, 51.69, 7.34) |
| CIE-LCH | lch(45.62, 52.20, 8.08°) |
| OKLab | oklab(55.16% 0.1574 0.0192) |
| OKLCH | oklch(55.16% 0.159 7) |
| XYZ | xyz(24.2896, 14.9908, 13.1673) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.87
Deep Rose
#C74767
ΔE00 3.53
Light Burgundy
#A8415B
ΔE00 3.63
Dark Pink
#CB416B
ΔE00 3.67
Light Maroon
#A24857
ΔE00 5.47
Deep Pink
#CB0162
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4062 #40BA98
analogous
#BA409F #BA4062 #BA5B40
triadic
#BA4062 #62BA40 #4062BA
tetradic
#BA4062 #9FBA40 #40BA98 #5B40BA
square
#BA4062 #9FBA40 #40BA98 #5B40BA
split-complementary
#BA4062 #40BA5B #409FBA
monochromatic
#5F2132 #8C304A #BA4062 #CC6B86 #DC99AB
Accessibility & contrast
On white
5.25
#BA4062 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#BA4062 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4062
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4062 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4062 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5D63
Deuteranopia (green-blind)
#7B755F
Tritanopia (blue-blind)
#CA2E4D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ba4062; /* rgb */ color: rgb(186, 64, 98); /* oklch */ color: oklch(55.2% 0.159 7.0);
Tailwind
colors: {
custom: {
50: '#d47c8e',
500: '#ba4062',
950: '#000000',
},
}SCSS
$custom: #ba4062; $custom-light: #d47c8e; $custom-dark: #000000;
JSON
{
"hex": "#ba4062",
"rgb": {
"r": 186,
"g": 64,
"b": 98
},
"hsl": {
"h": 343.279,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.5516,
"c": 0.15858,
"h": 7
},
"luminance": 0.14988
}Semantic roles & 50–950 ramp
primary
#BA4062
secondary
#8EC8B8
accent
#D8B24F
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D