#BA2754#BA2754
#BA2754 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.183 H 8.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2754 |
|---|---|
| RGB | rgb(186, 39, 84) |
| HSL | hsl(342, 65%, 44%) |
| HSV | hsv(342, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 54.8%, 27.1%) |
| CIE-LAB | lab(42.05, 59.44, 11.02) |
| CIE-LCH | lch(42.05, 60.45, 10.51°) |
| OKLab | oklab(52.4% 0.1808 0.028) |
| OKLCH | oklch(52.4% 0.183 8.8) |
| XYZ | xyz(22.5776, 12.5335, 9.6161) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.06
Raspberry (survey)
#B00149
ΔE00 4.21
Deep Pink
#CB0162
ΔE00 4.58
Ruby
#CA0147
ΔE00 4.60
Light Burgundy
#A8415B
ΔE00 4.62
Dark Rose
#B5485D
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2754 #27BA8D
analogous
#BA279E #BA2754 #BA4427
triadic
#BA2754 #54BA27 #2754BA
tetradic
#BA2754 #9EBA27 #27BA8D #4427BA
square
#BA2754 #9EBA27 #27BA8D #4427BA
split-complementary
#BA2754 #27BA44 #279EBA
monochromatic
#551226 #871C3D #BA2754 #D84673 #E37999
Accessibility & contrast
On white
5.99
#BA2754 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#BA2754 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2754
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2754 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2754 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5055
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2754; /* rgb */ color: rgb(186, 39, 84); /* oklch */ color: oklch(52.4% 0.183 8.8);
Tailwind
colors: {
custom: {
50: '#d57083',
500: '#ba2754',
950: '#000000',
},
}SCSS
$custom: #ba2754; $custom-light: #d57083; $custom-dark: #000000;
JSON
{
"hex": "#ba2754",
"rgb": {
"r": 186,
"g": 39,
"b": 84
},
"hsl": {
"h": 341.633,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52402,
"c": 0.18291,
"h": 8.8
},
"luminance": 0.1253
}Semantic roles & 50–950 ramp
primary
#BA2754
secondary
#72CBB0
accent
#E8B540
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080A
muted
#847B7C