#BA558D#BA558D

#BA558D is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.2% C 0.145 H 348.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA558D
RGBrgb(186, 85, 141)
HSLhsl(327, 42%, 53%)
HSVhsv(327, 54%, 73%)
CMYKcmyk(0%, 54.3%, 24.2%, 27.1%)
CIE-LABlab(50.52, 47.16, -11.48)
CIE-LCHlch(50.52, 48.54, 346.31°)
OKLaboklab(59.24% 0.1419 -0.0301)
OKLCHoklch(59.24% 0.145 348)
XYZxyz(28.3068, 18.8617, 27.3440)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA558D #55BA82
analogous
#B455BA #BA558D #BA555A
triadic
#BA558D #8DBA55 #558DBA
tetradic
#BA558D #BAB455 #55BA82 #555ABA
square
#BA558D #BAB455 #55BA82 #555ABA
split-complementary
#BA558D #5ABA55 #55BAB4
monochromatic
#6A2B4E #953D6E #BA558D #CC81AA #DDACC7

Accessibility & contrast

On white

4.40
#BA558D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BA558D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA558D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA558D#FFFFFF#000000##000000
##BA558D1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8F
Deuteranopia (green-blind)
#7B7F8B
Tritanopia (blue-blind)
#C6526B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba558d;
/* rgb */ color: rgb(186, 85, 141);
/* oklch */ color: oklch(59.2% 0.145 348.0);
Tailwind
colors: {
  custom: {
    50: '#d189ae',
    500: '#ba558d',
    950: '#000000',
  },
}
SCSS
$custom: #ba558d;
$custom-light: #d189ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba558d",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 326.733,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59244,
    "c": 0.14506,
    "h": 348
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

primary
#BA558D
secondary
#A0CBB3
accent
#D28D56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA558D

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

Preview Lab → · Contrast checker → · Palette generator →

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