#BA5E7E#BA5E7E

#BA5E7E is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.0% C 0.123 H 359.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA5E7E
RGBrgb(186, 94, 126)
HSLhsl(339, 40%, 55%)
HSVhsv(339, 49%, 73%)
CMYKcmyk(0%, 49.5%, 32.3%, 27.1%)
CIE-LABlab(51.78, 40.60, -0.69)
CIE-LCHlch(51.78, 40.60, 359.03°)
OKLaboklab(60.03% 0.1232 -0.0013)
OKLCHoklch(60.03% 0.123 359.4)
XYZxyz(28.0195, 19.9534, 22.1103)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5E7E #5EBA9A
analogous
#BA5EAC #BA5E7E #BA6C5E
triadic
#BA5E7E #7EBA5E #5E7EBA
tetradic
#BA5E7E #ACBA5E #5EBA9A #6C5EBA
square
#BA5E7E #ACBA5E #5EBA9A #6C5EBA
split-complementary
#BA5E7E #5EBA6C #5EACBA
monochromatic
#6E2F45 #994260 #BA5E7E #CC89A0 #DFB4C3

Accessibility & contrast

On white

4.21
#BA5E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BA5E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5E7E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5E7E#FFFFFF#000000##000000
##BA5E7E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C717F
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#C7586A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba5e7e;
/* rgb */ color: rgb(186, 94, 126);
/* oklch */ color: oklch(60.0% 0.123 359.4);
Tailwind
colors: {
  custom: {
    50: '#d18ea3',
    500: '#ba5e7e',
    950: '#000000',
  },
}
SCSS
$custom: #ba5e7e;
$custom-light: #d18ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5e7e",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 126
  },
  "hsl": {
    "h": 339.13,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.12321,
    "h": 359.4
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#BA5E7E
secondary
#A7CDC0
accent
#D0A658
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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