#BA538D#BA538D

#BA538D is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.0% C 0.148 H 347.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA538D
RGBrgb(186, 83, 141)
HSLhsl(326, 43%, 53%)
HSVhsv(326, 55%, 73%)
CMYKcmyk(0%, 55.4%, 24.2%, 27.1%)
CIE-LABlab(50.16, 48.13, -12.04)
CIE-LCHlch(50.16, 49.61, 345.96°)
OKLaboklab(58.97% 0.1449 -0.0316)
OKLCHoklch(58.97% 0.148 347.7)
XYZxyz(28.1516, 18.5512, 27.2922)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA538D #53BA80
analogous
#B453BA #BA538D #BA5359
triadic
#BA538D #8DBA53 #538DBA
tetradic
#BA538D #BAB453 #53BA80 #5359BA
square
#BA538D #BAB453 #53BA80 #5359BA
split-complementary
#BA538D #59BA53 #53BAB4
monochromatic
#692A4D #943B6E #BA538D #CC7FAA #DDAAC7

Accessibility & contrast

On white

4.46
#BA538D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BA538D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA538D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA538D#FFFFFF#000000##000000
##BA538D1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8F
Deuteranopia (green-blind)
#7A7E8A
Tritanopia (blue-blind)
#C6516A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba538d;
/* rgb */ color: rgb(186, 83, 141);
/* oklch */ color: oklch(59.0% 0.148 347.7);
Tailwind
colors: {
  custom: {
    50: '#d188ae',
    500: '#ba538d',
    950: '#000000',
  },
}
SCSS
$custom: #ba538d;
$custom-light: #d188ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba538d",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 326.214,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.14826,
    "h": 347.7
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

primary
#BA538D
secondary
#9ECBB2
accent
#D38C55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA538D

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

Preview Lab → · Contrast checker → · Palette generator →

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