#BA527D#BA527D

#BA527D is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.3% C 0.142 H 356.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA527D
RGBrgb(186, 82, 125)
HSLhsl(335, 43%, 53%)
HSVhsv(335, 56%, 73%)
CMYKcmyk(0%, 55.9%, 32.8%, 27.1%)
CIE-LABlab(49.44, 46.48, -3.53)
CIE-LCHlch(49.44, 46.61, 355.66°)
OKLaboklab(58.26% 0.1414 -0.0087)
OKLCHoklch(58.26% 0.142 356.5)
XYZxyz(26.9700, 17.9570, 21.4437)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA527D #52BA8F
analogous
#BA52B1 #BA527D #BA5B52
triadic
#BA527D #7DBA52 #527DBA
tetradic
#BA527D #B1BA52 #52BA8F #5B52BA
square
#BA527D #B1BA52 #52BA8F #5B52BA
split-complementary
#BA527D #52BA5B #52B1BA
monochromatic
#682A43 #943B60 #BA527D #CB7E9E #DDAABF

Accessibility & contrast

On white

4.57
#BA527D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BA527D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA527D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA527D#FFFFFF#000000##000000
##BA527D1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#626A7E
Deuteranopia (green-blind)
#7D7D7B
Tritanopia (blue-blind)
#C74B62
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba527d;
/* rgb */ color: rgb(186, 82, 125);
/* oklch */ color: oklch(58.3% 0.142 356.5);
Tailwind
colors: {
  custom: {
    50: '#d287a2',
    500: '#ba527d',
    950: '#000000',
  },
}
SCSS
$custom: #ba527d;
$custom-light: #d287a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba527d",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 125
  },
  "hsl": {
    "h": 335.192,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.14163,
    "h": 356.5
  },
  "luminance": 0.17954
}

Semantic roles & 50–950 ramp

primary
#BA527D
secondary
#9DCAB8
accent
#D39F55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0F
muted
#837C7E

Preview Lab

Preview with #BA527D

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

Preview Lab → · Contrast checker → · Palette generator →

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