#BA5681#BA5681

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

Color values

HEX#BA5681
RGBrgb(186, 86, 129)
HSLhsl(334, 42%, 53%)
HSVhsv(334, 54%, 73%)
CMYKcmyk(0%, 53.8%, 30.6%, 27.1%)
CIE-LABlab(50.31, 45.03, -4.64)
CIE-LCHlch(50.31, 45.27, 354.12°)
OKLaboklab(58.96% 0.1367 -0.0117)
OKLCHoklch(58.96% 0.137 355.1)
XYZxyz(27.5411, 18.6822, 22.9202)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5681 #56BA8F
analogous
#BA56B3 #BA5681 #BA5D56
triadic
#BA5681 #81BA56 #5681BA
tetradic
#BA5681 #B3BA56 #56BA8F #5D56BA
square
#BA5681 #B3BA56 #56BA8F #5D56BA
split-complementary
#BA5681 #56BA5D #56B3BA
monochromatic
#6A2B46 #963D63 #BA5681 #CC81A1 #DDADC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5681#FFFFFF#000000##000000
##BA56811.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)
#646C82
Deuteranopia (green-blind)
#7E7F7F
Tritanopia (blue-blind)
#C75066
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba5681;
/* rgb */ color: rgb(186, 86, 129);
/* oklch */ color: oklch(59.0% 0.137 355.1);
Tailwind
colors: {
  custom: {
    50: '#d289a5',
    500: '#ba5681',
    950: '#000000',
  },
}
SCSS
$custom: #ba5681;
$custom-light: #d289a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5681",
  "rgb": {
    "r": 186,
    "g": 86,
    "b": 129
  },
  "hsl": {
    "h": 334.2,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.13716,
    "h": 355.1
  },
  "luminance": 0.1868
}

Semantic roles & 50–950 ramp

primary
#BA5681
secondary
#A0CBB9
accent
#D29D56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5681

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

Preview Lab → · Contrast checker → · Palette generator →

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