#BA2856#BA2856
#BA2856 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.182 H 8.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2856 |
|---|---|
| RGB | rgb(186, 40, 86) |
| HSL | hsl(341, 65%, 44%) |
| HSV | hsv(341, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 53.8%, 27.1%) |
| CIE-LAB | lab(42.20, 59.30, 9.98) |
| CIE-LCH | lch(42.20, 60.13, 9.55°) |
| OKLab | oklab(52.53% 0.1806 0.0255) |
| OKLCH | oklch(52.53% 0.182 8) |
| XYZ | xyz(22.6903, 12.6318, 10.0457) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.16
Deep Pink
#CB0162
ΔE00 4.22
Raspberry (survey)
#B00149
ΔE00 4.37
Light Burgundy
#A8415B
ΔE00 4.47
Ruby
#CA0147
ΔE00 5.03
Dark Rose
#B5485D
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2856 #28BA8C
analogous
#BA289F #BA2856 #BA4328
triadic
#BA2856 #56BA28 #2856BA
tetradic
#BA2856 #9FBA28 #28BA8C #4328BA
square
#BA2856 #9FBA28 #28BA8C #4328BA
split-complementary
#BA2856 #28BA43 #289FBA
monochromatic
#551227 #881D3F #BA2856 #D84875 #E27A9B
Accessibility & contrast
On white
5.96
#BA2856 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2856 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2856
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2856 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2856 | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5157
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2856; /* rgb */ color: rgb(186, 40, 86); /* oklch */ color: oklch(52.5% 0.182 8.0);
Tailwind
colors: {
custom: {
50: '#d57185',
500: '#ba2856',
950: '#000000',
},
}SCSS
$custom: #ba2856; $custom-light: #d57185; $custom-dark: #000000;
JSON
{
"hex": "#ba2856",
"rgb": {
"r": 186,
"g": 40,
"b": 86
},
"hsl": {
"h": 341.096,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.5253,
"c": 0.18237,
"h": 8
},
"luminance": 0.12629
}Semantic roles & 50–950 ramp
primary
#BA2856
secondary
#73CAAF
accent
#E8B340
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C