#BA538E#BA538E

#BA538E is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.0% C 0.149 H 347.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA538E
RGBrgb(186, 83, 142)
HSLhsl(326, 43%, 53%)
HSVhsv(326, 55%, 73%)
CMYKcmyk(0%, 55.4%, 23.7%, 27.1%)
CIE-LABlab(50.19, 48.27, -12.58)
CIE-LCHlch(50.19, 49.88, 345.39°)
OKLaboklab(59.01% 0.1451 -0.0331)
OKLCHoklch(59.01% 0.149 347.2)
XYZxyz(28.2263, 18.5811, 27.6859)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA538E #53BA7F
analogous
#B353BA #BA538E #BA535A
triadic
#BA538E #8EBA53 #538EBA
tetradic
#BA538E #BAB353 #53BA7F #535ABA
square
#BA538E #BAB353 #53BA7F #535ABA
split-complementary
#BA538E #5ABA53 #53BAB3
monochromatic
#692A4E #943B6E #BA538E #CC7FAB #DDAAC7

Accessibility & contrast

On white

4.45
#BA538E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA538E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA538E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA538E#FFFFFF#000000##000000
##BA538E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C90
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#C5516A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba538e;
/* rgb */ color: rgb(186, 83, 142);
/* oklch */ color: oklch(59.0% 0.149 347.2);
Tailwind
colors: {
  custom: {
    50: '#d188af',
    500: '#ba538e',
    950: '#000000',
  },
}
SCSS
$custom: #ba538e;
$custom-light: #d188af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba538e",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 325.631,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.14885,
    "h": 347.2
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#BA538E
secondary
#9ECBB1
accent
#D38B55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA538E

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

Preview Lab → · Contrast checker → · Palette generator →

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