#BA527F#BA527F

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

Color values

HEX#BA527F
RGBrgb(186, 82, 127)
HSLhsl(334, 43%, 53%)
HSVhsv(334, 56%, 73%)
CMYKcmyk(0%, 55.9%, 31.7%, 27.1%)
CIE-LABlab(49.51, 46.73, -4.64)
CIE-LCHlch(49.51, 46.96, 354.33°)
OKLaboklab(58.33% 0.142 -0.0116)
OKLCHoklch(58.33% 0.142 355.3)
XYZxyz(27.0990, 18.0086, 22.1234)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA527F #52BA8D
analogous
#BA52B3 #BA527F #BA5952
triadic
#BA527F #7FBA52 #527FBA
tetradic
#BA527F #B3BA52 #52BA8D #5952BA
square
#BA527F #B3BA52 #52BA8D #5952BA
split-complementary
#BA527F #52BA59 #52B3BA
monochromatic
#682A45 #943B61 #BA527F #CB7E9F #DDAAC0

Accessibility & contrast

On white

4.56
#BA527F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA527F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA527F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA527F#FFFFFF#000000##000000
##BA527F1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#616A80
Deuteranopia (green-blind)
#7D7D7D
Tritanopia (blue-blind)
#C74C63
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba527f;
/* rgb */ color: rgb(186, 82, 127);
/* oklch */ color: oklch(58.3% 0.142 355.3);
Tailwind
colors: {
  custom: {
    50: '#d287a4',
    500: '#ba527f',
    950: '#000000',
  },
}
SCSS
$custom: #ba527f;
$custom-light: #d287a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba527f",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 334.038,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.14249,
    "h": 355.3
  },
  "luminance": 0.18006
}

Semantic roles & 50–950 ramp

primary
#BA527F
secondary
#9DCAB7
accent
#D39C55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA527F

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

Preview Lab → · Contrast checker → · Palette generator →

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