#BA4E6B#BA4E6B
#BA4E6B is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.2% C 0.142 H 6.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E6B |
|---|---|
| RGB | rgb(186, 78, 107) |
| HSL | hsl(344, 44%, 52%) |
| HSV | hsv(344, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 42.5%, 27.1%) |
| CIE-LAB | lab(48.20, 46.30, 5.53) |
| CIE-LCH | lch(48.20, 46.63, 6.81°) |
| OKLab | oklab(57.16% 0.1409 0.0147) |
| OKLCH | oklch(57.16% 0.142 6) |
| XYZ | xyz(25.6296, 16.9523, 15.8295) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 2.88
Dark Pink
#CB416B
ΔE00 3.42
Dark Rose
#B5485D
ΔE00 3.63
Light Burgundy
#A8415B
ΔE00 5.47
Light Maroon
#A24857
ΔE00 6.43
Darkish Pink
#DA467D
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E6B #4EBA9D
analogous
#BA4EA1 #BA4E6B #BA674E
triadic
#BA4E6B #6BBA4E #4E6BBA
tetradic
#BA4E6B #A1BA4E #4EBA9D #674EBA
square
#BA4E6B #A1BA4E #4EBA9D #674EBA
split-complementary
#BA4E6B #4EBA67 #4EA1BA
monochromatic
#662838 #923951 #BA4E6B #CB7A90 #DCA6B5
Accessibility & contrast
On white
4.78
#BA4E6B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#BA4E6B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E6B
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E6B | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63656C
Deuteranopia (green-blind)
#7F7A69
Tritanopia (blue-blind)
#C94259
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba4e6b; /* rgb */ color: rgb(186, 78, 107); /* oklch */ color: oklch(57.2% 0.142 6.0);
Tailwind
colors: {
custom: {
50: '#d38495',
500: '#ba4e6b',
950: '#000000',
},
}SCSS
$custom: #ba4e6b; $custom-light: #d38495; $custom-dark: #000000;
JSON
{
"hex": "#ba4e6b",
"rgb": {
"r": 186,
"g": 78,
"b": 107
},
"hsl": {
"h": 343.889,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57162,
"c": 0.1417,
"h": 6
},
"luminance": 0.16949
}Semantic roles & 50–950 ramp
primary
#BA4E6B
secondary
#9ACABD
accent
#D4B154
background
#FDF8F9
surface
#FBEFF1
border
#D4CACB
text
#150B0D
muted
#837C7E