#BA2851#BA2851
#BA2851 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.182 H 10.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2851 |
|---|---|
| RGB | rgb(186, 40, 81) |
| HSL | hsl(343, 65%, 44%) |
| HSV | hsv(343, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 56.5%, 27.1%) |
| CIE-LAB | lab(42.08, 58.93, 12.95) |
| CIE-LCH | lch(42.08, 60.33, 12.40°) |
| OKLab | oklab(52.4% 0.1787 0.0326) |
| OKLCH | oklch(52.4% 0.182 10.3) |
| XYZ | xyz(22.4959, 12.5540, 9.0216) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.89
Purplish Red
#B0054B
ΔE00 4.37
Raspberry (survey)
#B00149
ΔE00 4.41
Light Burgundy
#A8415B
ΔE00 4.84
Rose Red
#BE013C
ΔE00 5.18
Dark Rose
#B5485D
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2851 #28BA91
analogous
#BA289A #BA2851 #BA4828
triadic
#BA2851 #51BA28 #2851BA
tetradic
#BA2851 #9ABA28 #28BA91 #4828BA
square
#BA2851 #9ABA28 #28BA91 #4828BA
split-complementary
#BA2851 #28BA48 #289ABA
monochromatic
#551225 #881D3B #BA2851 #D84870 #E27A97
Accessibility & contrast
On white
5.98
#BA2851 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#BA2851 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2851
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2851 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505052
Deuteranopia (green-blind)
#766E4D
Tritanopia (blue-blind)
#CB003A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2851; /* rgb */ color: rgb(186, 40, 81); /* oklch */ color: oklch(52.4% 0.182 10.3);
Tailwind
colors: {
custom: {
50: '#d67181',
500: '#ba2851',
950: '#000000',
},
}SCSS
$custom: #ba2851; $custom-light: #d67181; $custom-dark: #000000;
JSON
{
"hex": "#ba2851",
"rgb": {
"r": 186,
"g": 40,
"b": 81
},
"hsl": {
"h": 343.151,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52403,
"c": 0.18161,
"h": 10.3
},
"luminance": 0.12551
}Semantic roles & 50–950 ramp
primary
#BA2851
secondary
#73CAB2
accent
#E8B940
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C