#BA5682#BA5682

#BA5682 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.0% C 0.138 H 354.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA5682
RGBrgb(186, 86, 130)
HSLhsl(334, 42%, 53%)
HSVhsv(334, 54%, 73%)
CMYKcmyk(0%, 53.8%, 30.1%, 27.1%)
CIE-LABlab(50.34, 45.16, -5.19)
CIE-LCHlch(50.34, 45.46, 353.44°)
OKLaboklab(58.99% 0.137 -0.0131)
OKLCHoklch(58.99% 0.138 354.5)
XYZxyz(27.6079, 18.7090, 23.2720)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5682 #56BA8E
analogous
#BA56B4 #BA5682 #BA5C56
triadic
#BA5682 #82BA56 #5682BA
tetradic
#BA5682 #B4BA56 #56BA8E #5C56BA
square
#BA5682 #B4BA56 #56BA8E #5C56BA
split-complementary
#BA5682 #56BA5C #56B4BA
monochromatic
#6A2B47 #963D64 #BA5682 #CC81A2 #DDADC2

Accessibility & contrast

On white

4.43
#BA5682 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BA5682 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5682
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5682#FFFFFF#000000##000000
##BA56821.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#646D83
Deuteranopia (green-blind)
#7E7F80
Tritanopia (blue-blind)
#C75067
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5682;
/* rgb */ color: rgb(186, 86, 130);
/* oklch */ color: oklch(59.0% 0.138 354.5);
Tailwind
colors: {
  custom: {
    50: '#d289a6',
    500: '#ba5682',
    950: '#000000',
  },
}
SCSS
$custom: #ba5682;
$custom-light: #d289a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5682",
  "rgb": {
    "r": 186,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 333.6,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58989,
    "c": 0.13762,
    "h": 354.5
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#BA5682
secondary
#A0CBB8
accent
#D29B56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5682

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

Preview Lab → · Contrast checker → · Palette generator →

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