#BA5E81#BA5E81

#BA5E81 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.1% C 0.124 H 357.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA5E81
RGBrgb(186, 94, 129)
HSLhsl(337, 40%, 55%)
HSVhsv(337, 49%, 73%)
CMYKcmyk(0%, 49.5%, 30.6%, 27.1%)
CIE-LABlab(51.87, 40.99, -2.34)
CIE-LCHlch(51.87, 41.05, 356.74°)
OKLaboklab(60.13% 0.1243 -0.0056)
OKLCHoklch(60.13% 0.124 357.4)
XYZxyz(28.2160, 20.0320, 23.1451)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5E81 #5EBA97
analogous
#BA5EAF #BA5E81 #BA695E
triadic
#BA5E81 #81BA5E #5E81BA
tetradic
#BA5E81 #AFBA5E #5EBA97 #695EBA
square
#BA5E81 #AFBA5E #5EBA97 #695EBA
split-complementary
#BA5E81 #5EBA69 #5EAFBA
monochromatic
#6E2F47 #994263 #BA5E81 #CC89A3 #DFB4C4

Accessibility & contrast

On white

4.20
#BA5E81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BA5E81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5E81
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5E81#FFFFFF#000000##000000
##BA5E811.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7182
Deuteranopia (green-blind)
#83827F
Tritanopia (blue-blind)
#C7586B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba5e81;
/* rgb */ color: rgb(186, 94, 129);
/* oklch */ color: oklch(60.1% 0.124 357.4);
Tailwind
colors: {
  custom: {
    50: '#d18ea5',
    500: '#ba5e81',
    950: '#000000',
  },
}
SCSS
$custom: #ba5e81;
$custom-light: #d18ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5e81",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 129
  },
  "hsl": {
    "h": 337.174,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.12439,
    "h": 357.4
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#BA5E81
secondary
#A7CDBF
accent
#D0A258
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5E81

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

Preview Lab → · Contrast checker → · Palette generator →

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