#BA3BA4#BA3BA4

#BA3BA4 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.2% C 0.198 H 335.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA3BA4
RGBrgb(186, 59, 164)
HSLhsl(310, 52%, 48%)
HSVhsv(310, 68%, 73%)
CMYKcmyk(0%, 68.3%, 11.8%, 27.1%)
CIE-LABlab(47.30, 61.87, -30.11)
CIE-LCHlch(47.30, 68.81, 334.05°)
OKLaboklab(57.18% 0.1807 -0.082)
OKLCHoklch(57.18% 0.198 335.6)
XYZxyz(28.5148, 16.2498, 36.7495)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BA4 #3BBA51
analogous
#913BBA #BA3BA4 #BA3B64
triadic
#BA3BA4 #A4BA3B #3BA4BA
tetradic
#BA3BA4 #BA913B #3BBA51 #3B64BA
square
#BA3BA4 #BA913B #3BBA51 #3B64BA
split-complementary
#BA3BA4 #64BA3B #3BBA91
monochromatic
#5D1E52 #8C2C7B #BA3BA4 #CE64BC #DD93D0

Accessibility & contrast

On white

4.94
#BA3BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BA3BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BA4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BA4#FFFFFF#000000##FFFFFF
##BA3BA41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#C3446A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3ba4;
/* rgb */ color: rgb(186, 59, 164);
/* oklch */ color: oklch(57.2% 0.198 335.6);
Tailwind
colors: {
  custom: {
    50: '#d27bbf',
    500: '#ba3ba4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ba4;
$custom-light: #d27bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ba4",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 310.394,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.19847,
    "h": 335.6
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#BA3BA4
secondary
#89C894
accent
#DB654D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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