#BA2751#BA2751
#BA2751 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.182 H 10.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2751 |
|---|---|
| RGB | rgb(186, 39, 81) |
| HSL | hsl(343, 65%, 44%) |
| HSV | hsv(343, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 56.5%, 27.1%) |
| CIE-LAB | lab(41.98, 59.22, 12.81) |
| CIE-LCH | lch(41.98, 60.59, 12.21°) |
| OKLab | oklab(52.33% 0.1796 0.0322) |
| OKLCH | oklch(52.33% 0.182 10.2) |
| XYZ | xyz(22.4626, 12.4875, 9.0105) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.93
Purplish Red
#B0054B
ΔE00 4.23
Raspberry (survey)
#B00149
ΔE00 4.28
Light Burgundy
#A8415B
ΔE00 4.88
Rose Red
#BE013C
ΔE00 5.20
Deep Pink
#CB0162
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2751 #27BA90
analogous
#BA279B #BA2751 #BA4727
triadic
#BA2751 #51BA27 #2751BA
tetradic
#BA2751 #9BBA27 #27BA90 #4727BA
square
#BA2751 #9BBA27 #27BA90 #4727BA
split-complementary
#BA2751 #27BA47 #279BBA
monochromatic
#551225 #871C3B #BA2751 #D84670 #E37997
Accessibility & contrast
On white
6.01
#BA2751 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#BA2751 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2751
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2751 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505052
Deuteranopia (green-blind)
#756E4D
Tritanopia (blue-blind)
#CB0039
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2751; /* rgb */ color: rgb(186, 39, 81); /* oklch */ color: oklch(52.3% 0.182 10.2);
Tailwind
colors: {
custom: {
50: '#d67081',
500: '#ba2751',
950: '#000000',
},
}SCSS
$custom: #ba2751; $custom-light: #d67081; $custom-dark: #000000;
JSON
{
"hex": "#ba2751",
"rgb": {
"r": 186,
"g": 39,
"b": 81
},
"hsl": {
"h": 342.857,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52327,
"c": 0.18247,
"h": 10.2
},
"luminance": 0.12484
}Semantic roles & 50–950 ramp
primary
#BA2751
secondary
#72CBB1
accent
#E8B840
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C