#BA269A#BA269A
#BA269A is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 55.0% C 0.214 H 338.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BA269A |
|---|---|
| RGB | rgb(186, 38, 154) |
| HSL | hsl(313, 66%, 44%) |
| HSV | hsv(313, 80%, 73%) |
| CMYK | cmyk(0%, 79.6%, 17.2%, 27.1%) |
| CIE-LAB | lab(44.46, 67.16, -28.57) |
| CIE-LCH | lch(44.46, 72.98, 336.95°) |
| OKLab | oklab(54.97% 0.1997 -0.0775) |
| OKLCH | oklch(54.97% 0.214 338.8) |
| XYZ | xyz(26.7763, 14.1611, 31.8888) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 5.01
Mediumvioletred
#C71585
ΔE00 5.43
Medium Purple
#9E43A2
ΔE00 6.21
Purpley Pink
#C83CB9
ΔE00 6.84
Warm Purple
#952E8F
ΔE00 7.00
Barney
#AC1DB8
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA269A #26BA46
analogous
#9026BA #BA269A #BA2650
triadic
#BA269A #9ABA26 #269ABA
tetradic
#BA269A #BA9026 #26BA46 #2650BA
square
#BA269A #BA9026 #26BA46 #2650BA
split-complementary
#BA269A #50BA26 #26BA90
monochromatic
#541146 #871C70 #BA269A #D944B9 #E377CC
Accessibility & contrast
On white
5.48
#BA269A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#BA269A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA269A
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA269A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA269A | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5B9D
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#C52E5F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ba269a; /* rgb */ color: rgb(186, 38, 154); /* oklch */ color: oklch(55.0% 0.214 338.8);
Tailwind
colors: {
custom: {
50: '#d372b8',
500: '#ba269a',
950: '#000000',
},
}SCSS
$custom: #ba269a; $custom-light: #d372b8; $custom-dark: #000000;
JSON
{
"hex": "#ba269a",
"rgb": {
"r": 186,
"g": 38,
"b": 154
},
"hsl": {
"h": 312.973,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.54975,
"c": 0.21423,
"h": 338.8
},
"luminance": 0.14158
}Semantic roles & 50–950 ramp
primary
#BA269A
secondary
#71CB84
accent
#E9643F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80