#BA35A0#BA35A0

#BA35A0 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.4% C 0.203 H 336.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA35A0
RGBrgb(186, 53, 160)
HSLhsl(312, 56%, 47%)
HSVhsv(312, 72%, 73%)
CMYKcmyk(0%, 71.5%, 14%, 27.1%)
CIE-LABlab(46.35, 63.44, -29.22)
CIE-LCHlch(46.35, 69.84, 335.27°)
OKLaboklab(56.43% 0.1867 -0.0795)
OKLCHoklch(56.43% 0.203 336.9)
XYZxyz(27.8685, 15.5259, 34.7800)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35A0 #35BA4F
analogous
#9235BA #BA35A0 #BA355E
triadic
#BA35A0 #A0BA35 #35A0BA
tetradic
#BA35A0 #BA9235 #35BA4F #355EBA
square
#BA35A0 #BA9235 #35BA4F #355EBA
split-complementary
#BA35A0 #5EBA35 #35BA92
monochromatic
#5B1A4E #8A2777 #BA35A0 #D05CBA #DE8BCE

Accessibility & contrast

On white

5.12
#BA35A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA35A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35A0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35A0#FFFFFF#000000##FFFFFF
##BA35A01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A3
Deuteranopia (green-blind)
#65759D
Tritanopia (blue-blind)
#C43D66
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba35a0;
/* rgb */ color: rgb(186, 53, 160);
/* oklch */ color: oklch(56.4% 0.203 336.9);
Tailwind
colors: {
  custom: {
    50: '#d278bc',
    500: '#ba35a0',
    950: '#000000',
  },
}
SCSS
$custom: #ba35a0;
$custom-light: #d278bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35a0",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 160
  },
  "hsl": {
    "h": 311.729,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.20287,
    "h": 336.9
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#BA35A0
secondary
#82C890
accent
#DF6649
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA35A0

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

Preview Lab → · Contrast checker → · Palette generator →

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