#BA275A#BA275A
#BA275A is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.184 H 6.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA275A |
|---|---|
| RGB | rgb(186, 39, 90) |
| HSL | hsl(339, 65%, 44%) |
| HSV | hsv(339, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 51.6%, 27.1%) |
| CIE-LAB | lab(42.20, 59.90, 7.46) |
| CIE-LCH | lch(42.20, 60.36, 7.10°) |
| OKLab | oklab(52.56% 0.183 0.0194) |
| OKLCH | oklch(52.56% 0.184 6.1) |
| XYZ | xyz(22.8228, 12.6316, 10.9072) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.42
Purplish Red
#B0054B
ΔE00 4.30
Light Burgundy
#A8415B
ΔE00 4.58
Raspberry (survey)
#B00149
ΔE00 4.62
Dark Hot Pink
#D90166
ΔE00 5.53
Dark Rose
#B5485D
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA275A #27BA87
analogous
#BA27A4 #BA275A #BA3E27
triadic
#BA275A #5ABA27 #275ABA
tetradic
#BA275A #A4BA27 #27BA87 #3E27BA
square
#BA275A #A4BA27 #27BA87 #3E27BA
split-complementary
#BA275A #27BA3E #27A4BA
monochromatic
#551229 #871C42 #BA275A #D84679 #E3799D
Accessibility & contrast
On white
5.96
#BA275A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA275A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA275A
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA275A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA275A | 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)
#4D515B
Deuteranopia (green-blind)
#746E56
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba275a; /* rgb */ color: rgb(186, 39, 90); /* oklch */ color: oklch(52.6% 0.184 6.1);
Tailwind
colors: {
custom: {
50: '#d57088',
500: '#ba275a',
950: '#000000',
},
}SCSS
$custom: #ba275a; $custom-light: #d57088; $custom-dark: #000000;
JSON
{
"hex": "#ba275a",
"rgb": {
"r": 186,
"g": 39,
"b": 90
},
"hsl": {
"h": 339.184,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52563,
"c": 0.18403,
"h": 6.1
},
"luminance": 0.12628
}Semantic roles & 50–950 ramp
primary
#BA275A
secondary
#72CBAC
accent
#E8AE40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C