#BA266E#BA266E
#BA266E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.191 H 356.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA266E |
|---|---|
| RGB | rgb(186, 38, 110) |
| HSL | hsl(331, 66%, 44%) |
| HSV | hsv(331, 80%, 73%) |
| CMYK | cmyk(0%, 79.6%, 40.9%, 27.1%) |
| CIE-LAB | lab(42.69, 61.98, -4.34) |
| CIE-LCH | lch(42.69, 62.13, 356.00°) |
| OKLab | oklab(53.12% 0.1907 -0.0106) |
| OKLCH | oklch(53.12% 0.191 356.8) |
| XYZ | xyz(23.7590, 12.9542, 15.9981) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.25
Deep Pink
#CB0162
ΔE00 4.68
Mediumvioletred
#C71585
ΔE00 5.05
Violet Red
#A50055
ΔE00 6.71
Dark Hot Pink
#D90166
ΔE00 6.80
Deep Magenta
#A0025C
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA266E #26BA72
analogous
#BA26B8 #BA266E #BA2826
triadic
#BA266E #6EBA26 #266EBA
tetradic
#BA266E #B8BA26 #26BA72 #2826BA
square
#BA266E #B8BA26 #26BA72 #2826BA
split-complementary
#BA266E #26BA28 #26B8BA
monochromatic
#541132 #871C50 #BA266E #D9448D #E377AC
Accessibility & contrast
On white
5.85
#BA266E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA266E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA266E
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA266E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA266E | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#706F6B
Tritanopia (blue-blind)
#C90847
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba266e; /* rgb */ color: rgb(186, 38, 110); /* oklch */ color: oklch(53.1% 0.191 356.8);
Tailwind
colors: {
custom: {
50: '#d47197',
500: '#ba266e',
950: '#000000',
},
}SCSS
$custom: #ba266e; $custom-light: #d47197; $custom-dark: #000000;
JSON
{
"hex": "#ba266e",
"rgb": {
"r": 186,
"g": 38,
"b": 110
},
"hsl": {
"h": 330.811,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.53116,
"c": 0.19098,
"h": 356.8
},
"luminance": 0.12951
}Semantic roles & 50–950 ramp
primary
#BA266E
secondary
#71CB9F
accent
#E9963F
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E