#BA266A#BA266A
#BA266A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.189 H 358.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA266A |
|---|---|
| RGB | rgb(186, 38, 106) |
| HSL | hsl(332, 66%, 44%) |
| HSV | hsv(332, 80%, 73%) |
| CMYK | cmyk(0%, 79.6%, 43%, 27.1%) |
| CIE-LAB | lab(42.57, 61.59, -2.04) |
| CIE-LCH | lch(42.57, 61.62, 358.11°) |
| OKLab | oklab(52.98% 0.1894 -0.0046) |
| OKLCH | oklch(52.98% 0.189 358.6) |
| XYZ | xyz(23.5462, 12.8691, 14.8769) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.93
Magenta (survey)
#C20078
ΔE00 4.10
Mediumvioletred
#C71585
ΔE00 5.97
Dark Hot Pink
#D90166
ΔE00 6.24
Violet Red
#A50055
ΔE00 6.36
Light Burgundy
#A8415B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA266A #26BA76
analogous
#BA26B4 #BA266A #BA2C26
triadic
#BA266A #6ABA26 #266ABA
tetradic
#BA266A #B4BA26 #26BA76 #2C26BA
square
#BA266A #B4BA26 #26BA76 #2C26BA
split-complementary
#BA266A #26BA2C #26B4BA
monochromatic
#541130 #871C4D #BA266A #D94489 #E377A9
Accessibility & contrast
On white
5.88
#BA266A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA266A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA266A
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA266A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA266A | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48536C
Deuteranopia (green-blind)
#716E67
Tritanopia (blue-blind)
#CA0345
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba266a; /* rgb */ color: rgb(186, 38, 106); /* oklch */ color: oklch(53.0% 0.189 358.6);
Tailwind
colors: {
custom: {
50: '#d47194',
500: '#ba266a',
950: '#000000',
},
}SCSS
$custom: #ba266a; $custom-light: #d47194; $custom-dark: #000000;
JSON
{
"hex": "#ba266a",
"rgb": {
"r": 186,
"g": 38,
"b": 106
},
"hsl": {
"h": 332.432,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.52979,
"c": 0.18949,
"h": 358.6
},
"luminance": 0.12866
}Semantic roles & 50–950 ramp
primary
#BA266A
secondary
#71CBA2
accent
#E99B3F
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E