#BA4277#BA4277
#BA4277 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.0% C 0.162 H 356.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4277 |
|---|---|
| RGB | rgb(186, 66, 119) |
| HSL | hsl(334, 48%, 49%) |
| HSV | hsv(334, 65%, 73%) |
| CMYK | cmyk(0%, 64.5%, 36%, 27.1%) |
| CIE-LAB | lab(46.54, 53.04, -4.19) |
| CIE-LCH | lch(46.54, 53.20, 355.48°) |
| OKLab | oklab(56.04% 0.1621 -0.0103) |
| OKLCH | oklch(56.04% 0.162 356.3) |
| XYZ | xyz(25.5292, 15.6703, 19.1294) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.95
Mediumvioletred
#C71585
ΔE00 6.38
Magenta (survey)
#C20078
ΔE00 6.44
Deep Pink
#CB0162
ΔE00 6.81
Deep Rose
#C74767
ΔE00 7.16
Darkish Pink
#DA467D
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4277 #42BA85
analogous
#BA42B3 #BA4277 #BA4942
triadic
#BA4277 #77BA42 #4277BA
tetradic
#BA4277 #B3BA42 #42BA85 #4942BA
square
#BA4277 #B3BA42 #42BA85 #4942BA
split-complementary
#BA4277 #42BA49 #42B3BA
monochromatic
#60223D #8D325A #BA4277 #CB6E97 #DB9BB7
Accessibility & contrast
On white
5.08
#BA4277 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#BA4277 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4277
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4277 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#576079
Deuteranopia (green-blind)
#777774
Tritanopia (blue-blind)
#C83857
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ba4277; /* rgb */ color: rgb(186, 66, 119); /* oklch */ color: oklch(56.0% 0.162 356.3);
Tailwind
colors: {
custom: {
50: '#d37e9e',
500: '#ba4277',
950: '#000000',
},
}SCSS
$custom: #ba4277; $custom-light: #d37e9e; $custom-dark: #000000;
JSON
{
"hex": "#ba4277",
"rgb": {
"r": 186,
"g": 66,
"b": 119
},
"hsl": {
"h": 333.5,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.5604,
"c": 0.16242,
"h": 356.3
},
"luminance": 0.15667
}Semantic roles & 50–950 ramp
primary
#BA4277
secondary
#90C8AF
accent
#D79C51
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E