#BA226E#BA226E
#BA226E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.194 H 356.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA226E |
|---|---|
| RGB | rgb(186, 34, 110) |
| HSL | hsl(330, 69%, 43%) |
| HSV | hsv(330, 82%, 73%) |
| CMYK | cmyk(0%, 81.7%, 40.9%, 27.1%) |
| CIE-LAB | lab(42.33, 63.03, -4.88) |
| CIE-LCH | lch(42.33, 63.22, 355.57°) |
| OKLab | oklab(52.85% 0.194 -0.0121) |
| OKLCH | oklch(52.85% 0.194 356.4) |
| XYZ | xyz(23.6380, 12.7121, 15.9578) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 2.91
Deep Pink
#CB0162
ΔE00 4.82
Mediumvioletred
#C71585
ΔE00 4.90
Violet Red
#A50055
ΔE00 6.48
Deep Magenta
#A0025C
ΔE00 6.70
Dark Hot Pink
#D90166
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA226E #22BA6E
analogous
#BA22BA #BA226E #BA2222
triadic
#BA226E #6EBA22 #226EBA
tetradic
#BA226E #BABA22 #22BA6E #2222BA
square
#BA226E #BABA22 #22BA6E #2222BA
split-complementary
#BA226E #22BA22 #22BABA
monochromatic
#530F31 #86194F #BA226E #DC3E8D #E571AB
Accessibility & contrast
On white
5.93
#BA226E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA226E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA226E
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA226E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA226E | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#6F6E6B
Tritanopia (blue-blind)
#CA0046
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba226e; /* rgb */ color: rgb(186, 34, 110); /* oklch */ color: oklch(52.8% 0.194 356.4);
Tailwind
colors: {
custom: {
50: '#d46f97',
500: '#ba226e',
950: '#000000',
},
}SCSS
$custom: #ba226e; $custom-light: #d46f97; $custom-dark: #000000;
JSON
{
"hex": "#ba226e",
"rgb": {
"r": 186,
"g": 34,
"b": 110
},
"hsl": {
"h": 330,
"s": 69.091,
"l": 43.137
},
"oklch": {
"l": 0.52847,
"c": 0.19441,
"h": 356.4
},
"luminance": 0.12709
}Semantic roles & 50–950 ramp
primary
#BA226E
secondary
#6CCC9C
accent
#EC943C
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15080D
muted
#837B7E