#BA276E#BA276E
#BA276E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.190 H 356.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA276E |
|---|---|
| RGB | rgb(186, 39, 110) |
| HSL | hsl(331, 65%, 44%) |
| HSV | hsv(331, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 40.9%, 27.1%) |
| CIE-LAB | lab(42.79, 61.70, -4.19) |
| CIE-LCH | lch(42.79, 61.84, 356.11°) |
| OKLab | oklab(53.19% 0.1898 -0.0102) |
| OKLCH | oklch(53.19% 0.19 356.9) |
| XYZ | xyz(23.7914, 13.0190, 16.0089) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.35
Deep Pink
#CB0162
ΔE00 4.65
Mediumvioletred
#C71585
ΔE00 5.09
Dark Hot Pink
#D90166
ΔE00 6.74
Violet Red
#A50055
ΔE00 6.78
Deep Magenta
#A0025C
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA276E #27BA73
analogous
#BA27B8 #BA276E #BA2927
triadic
#BA276E #6EBA27 #276EBA
tetradic
#BA276E #B8BA27 #27BA73 #2927BA
square
#BA276E #B8BA27 #27BA73 #2927BA
split-complementary
#BA276E #27BA29 #27B8BA
monochromatic
#551232 #871C50 #BA276E #D8468D #E379AC
Accessibility & contrast
On white
5.83
#BA276E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA276E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA276E
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA276E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA276E | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485470
Deuteranopia (green-blind)
#706F6B
Tritanopia (blue-blind)
#C90B47
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba276e; /* rgb */ color: rgb(186, 39, 110); /* oklch */ color: oklch(53.2% 0.190 356.9);
Tailwind
colors: {
custom: {
50: '#d47197',
500: '#ba276e',
950: '#000000',
},
}SCSS
$custom: #ba276e; $custom-light: #d47197; $custom-dark: #000000;
JSON
{
"hex": "#ba276e",
"rgb": {
"r": 186,
"g": 39,
"b": 110
},
"hsl": {
"h": 331.02,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.53187,
"c": 0.19007,
"h": 356.9
},
"luminance": 0.13016
}Semantic roles & 50–950 ramp
primary
#BA276E
secondary
#72CBA0
accent
#E89740
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E