#BA26A0#BA26A0

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

Color values

HEX#BA26A0
RGBrgb(186, 38, 160)
HSLhsl(311, 66%, 44%)
HSVhsv(311, 80%, 73%)
CMYKcmyk(0%, 79.6%, 14%, 27.1%)
CIE-LABlab(44.75, 67.98, -31.72)
CIE-LCHlch(44.75, 75.02, 334.99°)
OKLaboklab(55.28% 0.2003 -0.0865)
OKLCHoklch(55.28% 0.218 336.6)
XYZxyz(27.2885, 14.3660, 34.5866)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA26A0 #26BA40
analogous
#8A26BA #BA26A0 #BA2656
triadic
#BA26A0 #A0BA26 #26A0BA
tetradic
#BA26A0 #BA8A26 #26BA40 #2656BA
square
#BA26A0 #BA8A26 #26BA40 #2656BA
split-complementary
#BA26A0 #56BA26 #26BA8A
monochromatic
#541149 #871C74 #BA26A0 #D944BF #E377D0

Accessibility & contrast

On white

5.42
#BA26A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BA26A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA26A0
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA26A0#FFFFFF#000000##FFFFFF
##BA26A01.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA3
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#C43262
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba26a0;
/* rgb */ color: rgb(186, 38, 160);
/* oklch */ color: oklch(55.3% 0.218 336.6);
Tailwind
colors: {
  custom: {
    50: '#d372bc',
    500: '#ba26a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba26a0;
$custom-light: #d372bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba26a0",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 310.541,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55278,
    "c": 0.21813,
    "h": 336.6
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#BA26A0
secondary
#71CB81
accent
#E95D3F
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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