#BA26A1#BA26A1

#BA26A1 is a mid, highly saturated pink. Relative luminance 0.144; OKLCH L 55.3% C 0.219 H 336.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA26A1
RGBrgb(186, 38, 161)
HSLhsl(310, 66%, 44%)
HSVhsv(310, 80%, 73%)
CMYKcmyk(0%, 79.6%, 13.4%, 27.1%)
CIE-LABlab(44.80, 68.12, -32.24)
CIE-LCHlch(44.80, 75.36, 334.68°)
OKLaboklab(55.33% 0.2003 -0.088)
OKLCHoklch(55.33% 0.219 336.3)
XYZxyz(27.3763, 14.4011, 35.0492)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA26A1 #26BA3F
analogous
#8926BA #BA26A1 #BA2657
triadic
#BA26A1 #A1BA26 #26A1BA
tetradic
#BA26A1 #BA8926 #26BA3F #2657BA
square
#BA26A1 #BA8926 #26BA3F #2657BA
split-complementary
#BA26A1 #57BA26 #26BA89
monochromatic
#541149 #871C75 #BA26A1 #D944C0 #E377D1

Accessibility & contrast

On white

5.41
#BA26A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA26A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA26A1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA26A1#FFFFFF#000000##FFFFFF
##BA26A11.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA4
Deuteranopia (green-blind)
#60729E
Tritanopia (blue-blind)
#C43263
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba26a1;
/* rgb */ color: rgb(186, 38, 161);
/* oklch */ color: oklch(55.3% 0.219 336.3);
Tailwind
colors: {
  custom: {
    50: '#d373bd',
    500: '#ba26a1',
    950: '#000000',
  },
}
SCSS
$custom: #ba26a1;
$custom-light: #d373bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba26a1",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 310.135,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.21878,
    "h": 336.3
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#BA26A1
secondary
#71CB80
accent
#E95C3F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA26A1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA26A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva