#BA538A#BA538A

#BA538A is a mid, vivid pink. Relative luminance 0.185; OKLCH L 58.9% C 0.147 H 349.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA538A
RGBrgb(186, 83, 138)
HSLhsl(328, 43%, 53%)
HSVhsv(328, 55%, 73%)
CMYKcmyk(0%, 55.4%, 25.8%, 27.1%)
CIE-LABlab(50.05, 47.71, -10.41)
CIE-LCHlch(50.05, 48.83, 347.70°)
OKLaboklab(58.86% 0.144 -0.0271)
OKLCHoklch(58.86% 0.147 349.3)
XYZxyz(27.9314, 18.4631, 26.1325)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA538A #53BA83
analogous
#B753BA #BA538A #BA5356
triadic
#BA538A #8ABA53 #538ABA
tetradic
#BA538A #BAB753 #53BA83 #5356BA
square
#BA538A #BAB753 #53BA83 #5356BA
split-complementary
#BA538A #56BA53 #53BAB7
monochromatic
#692A4B #943B6B #BA538A #CC7FA8 #DDAAC5

Accessibility & contrast

On white

4.48
#BA538A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#BA538A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA538A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA538A#FFFFFF#000000##000000
##BA538A1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#7B7E87
Tritanopia (blue-blind)
#C65068
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba538a;
/* rgb */ color: rgb(186, 83, 138);
/* oklch */ color: oklch(58.9% 0.147 349.3);
Tailwind
colors: {
  custom: {
    50: '#d288ac',
    500: '#ba538a',
    950: '#000000',
  },
}
SCSS
$custom: #ba538a;
$custom-light: #d288ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba538a",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 138
  },
  "hsl": {
    "h": 327.961,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58858,
    "c": 0.14651,
    "h": 349.3
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

primary
#BA538A
secondary
#9ECBB3
accent
#D39055
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA538A

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

Preview Lab → · Contrast checker → · Palette generator →

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