#BA35A2#BA35A2

#BA35A2 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.5% C 0.204 H 336.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA35A2
RGBrgb(186, 53, 162)
HSLhsl(311, 56%, 47%)
HSVhsv(311, 72%, 73%)
CMYKcmyk(0%, 71.5%, 12.9%, 27.1%)
CIE-LABlab(46.44, 63.73, -30.27)
CIE-LCHlch(46.44, 70.55, 334.60°)
OKLaboklab(56.53% 0.1869 -0.0824)
OKLCHoklch(56.53% 0.204 336.2)
XYZxyz(28.0448, 15.5965, 35.7088)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35A2 #35BA4D
analogous
#9035BA #BA35A2 #BA3560
triadic
#BA35A2 #A2BA35 #35A2BA
tetradic
#BA35A2 #BA9035 #35BA4D #3560BA
square
#BA35A2 #BA9035 #35BA4D #3560BA
split-complementary
#BA35A2 #60BA35 #35BA90
monochromatic
#5B1A4F #8A2779 #BA35A2 #D05CBB #DE8BCF

Accessibility & contrast

On white

5.10
#BA35A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BA35A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35A2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35A2#FFFFFF#000000##FFFFFF
##BA35A21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#C43E67
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba35a2;
/* rgb */ color: rgb(186, 53, 162);
/* oklch */ color: oklch(56.5% 0.204 336.2);
Tailwind
colors: {
  custom: {
    50: '#d278be',
    500: '#ba35a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba35a2;
$custom-light: #d278be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35a2",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 310.827,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56525,
    "c": 0.20427,
    "h": 336.2
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#BA35A2
secondary
#82C88F
accent
#DF6449
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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