#BA59A3#BA59A3

#BA59A3 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.7% C 0.154 H 337.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA59A3
RGBrgb(186, 89, 163)
HSLhsl(314, 41%, 54%)
HSVhsv(314, 52%, 73%)
CMYKcmyk(0%, 52.2%, 12.4%, 27.1%)
CIE-LABlab(52.10, 48.54, -22.09)
CIE-LCHlch(52.10, 53.33, 335.53°)
OKLaboklab(60.69% 0.1417 -0.0596)
OKLCHoklch(60.69% 0.154 337.2)
XYZxyz(30.4332, 20.2304, 36.9452)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59A3 #59BA70
analogous
#A159BA #BA59A3 #BA5973
triadic
#BA59A3 #A3BA59 #59A3BA
tetradic
#BA59A3 #BAA159 #59BA70 #5973BA
square
#BA59A3 #BAA159 #59BA70 #5973BA
split-complementary
#BA59A3 #73BA59 #59BAA1
monochromatic
#6C2D5D #973F82 #BA59A3 #CC84BB #DEAFD3

Accessibility & contrast

On white

4.16
#BA59A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BA59A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59A3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59A3#FFFFFF#000000##000000
##BA59A31.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A5
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#C35D76
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba59a3;
/* rgb */ color: rgb(186, 89, 163);
/* oklch */ color: oklch(60.7% 0.154 337.2);
Tailwind
colors: {
  custom: {
    50: '#d18cbe',
    500: '#ba59a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba59a3;
$custom-light: #d18cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59a3",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 163
  },
  "hsl": {
    "h": 314.227,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60685,
    "c": 0.15372,
    "h": 337.2
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#BA59A3
secondary
#A3CCAD
accent
#D17457
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BA59A3

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

Preview Lab → · Contrast checker → · Palette generator →

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