#BA538B#BA538B

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

Color values

HEX#BA538B
RGBrgb(186, 83, 139)
HSLhsl(327, 43%, 53%)
HSVhsv(327, 55%, 73%)
CMYKcmyk(0%, 55.4%, 25.3%, 27.1%)
CIE-LABlab(50.09, 47.85, -10.95)
CIE-LCHlch(50.09, 49.09, 347.11°)
OKLaboklab(58.9% 0.1443 -0.0286)
OKLCHoklch(58.9% 0.147 348.8)
XYZxyz(28.0041, 18.4922, 26.5156)
Luminance0.1849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA538B #53BA82
analogous
#B653BA #BA538B #BA5357
triadic
#BA538B #8BBA53 #538BBA
tetradic
#BA538B #BAB653 #53BA82 #5357BA
square
#BA538B #BAB653 #53BA82 #5357BA
split-complementary
#BA538B #57BA53 #53BAB6
monochromatic
#692A4C #943B6C #BA538B #CC7FA8 #DDAAC6

Accessibility & contrast

On white

4.47
#BA538B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA538B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA538B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA538B#FFFFFF#000000##000000
##BA538B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8D
Deuteranopia (green-blind)
#7A7E88
Tritanopia (blue-blind)
#C65069
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba538b;
/* rgb */ color: rgb(186, 83, 139);
/* oklch */ color: oklch(58.9% 0.147 348.8);
Tailwind
colors: {
  custom: {
    50: '#d288ac',
    500: '#ba538b',
    950: '#000000',
  },
}
SCSS
$custom: #ba538b;
$custom-light: #d288ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba538b",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 327.379,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.14709,
    "h": 348.8
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA538B

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

Preview Lab → · Contrast checker → · Palette generator →

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