#BA2852#BA2852
#BA2852 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.182 H 9.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2852 |
|---|---|
| RGB | rgb(186, 40, 82) |
| HSL | hsl(343, 65%, 44%) |
| HSV | hsv(343, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 55.9%, 27.1%) |
| CIE-LAB | lab(42.11, 59.00, 12.36) |
| CIE-LCH | lch(42.11, 60.28, 11.83°) |
| OKLab | oklab(52.43% 0.179 0.0312) |
| OKLCH | oklch(52.43% 0.182 9.9) |
| XYZ | xyz(22.5337, 12.5692, 9.2206) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 4.10
Purplish Red
#B0054B
ΔE00 4.29
Raspberry (survey)
#B00149
ΔE00 4.36
Light Burgundy
#A8415B
ΔE00 4.73
Deep Pink
#CB0162
ΔE00 5.15
Dark Rose
#B5485D
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2852 #28BA90
analogous
#BA289B #BA2852 #BA4728
triadic
#BA2852 #52BA28 #2852BA
tetradic
#BA2852 #9BBA28 #28BA90 #4728BA
square
#BA2852 #9BBA28 #28BA90 #4728BA
split-complementary
#BA2852 #28BA47 #289BBA
monochromatic
#551226 #881D3C #BA2852 #D84871 #E27A98
Accessibility & contrast
On white
5.98
#BA2852 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#BA2852 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2852
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2852 | 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)
#505153
Deuteranopia (green-blind)
#756E4E
Tritanopia (blue-blind)
#CB003A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2852; /* rgb */ color: rgb(186, 40, 82); /* oklch */ color: oklch(52.4% 0.182 9.9);
Tailwind
colors: {
custom: {
50: '#d67182',
500: '#ba2852',
950: '#000000',
},
}SCSS
$custom: #ba2852; $custom-light: #d67182; $custom-dark: #000000;
JSON
{
"hex": "#ba2852",
"rgb": {
"r": 186,
"g": 40,
"b": 82
},
"hsl": {
"h": 342.74,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52427,
"c": 0.18174,
"h": 9.9
},
"luminance": 0.12566
}Semantic roles & 50–950 ramp
primary
#BA2852
secondary
#73CAB1
accent
#E8B740
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C