#BA5B8E#BA5B8E

#BA5B8E is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.1% C 0.136 H 348.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA5B8E
RGBrgb(186, 91, 142)
HSLhsl(328, 41%, 54%)
HSVhsv(328, 51%, 73%)
CMYKcmyk(0%, 51.1%, 23.7%, 27.1%)
CIE-LABlab(51.70, 44.32, -10.31)
CIE-LCHlch(51.70, 45.50, 346.90°)
OKLaboklab(60.13% 0.1332 -0.027)
OKLCHoklch(60.13% 0.136 348.6)
XYZxyz(28.8741, 19.8767, 27.9018)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5B8E #5BBA87
analogous
#B75BBA #BA5B8E #BA5B5F
triadic
#BA5B8E #8EBA5B #5B8EBA
tetradic
#BA5B8E #BAB75B #5BBA87 #5B5FBA
square
#BA5B8E #BAB75B #5BBA87 #5B5FBA
split-complementary
#BA5B8E #5FBA5B #5BBAB7
monochromatic
#6D2E50 #98406F #BA5B8E #CC86AC #DEB1C9

Accessibility & contrast

On white

4.22
#BA5B8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BA5B8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5B8E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5B8E#FFFFFF#000000##000000
##BA5B8E1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657190
Deuteranopia (green-blind)
#7E818C
Tritanopia (blue-blind)
#C5596E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba5b8e;
/* rgb */ color: rgb(186, 91, 142);
/* oklch */ color: oklch(60.1% 0.136 348.6);
Tailwind
colors: {
  custom: {
    50: '#d18daf',
    500: '#ba5b8e',
    950: '#000000',
  },
}
SCSS
$custom: #ba5b8e;
$custom-light: #d18daf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5b8e",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 142
  },
  "hsl": {
    "h": 327.789,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.13586,
    "h": 348.6
  },
  "luminance": 0.19874
}

Semantic roles & 50–950 ramp

primary
#BA5B8E
secondary
#A4CDB7
accent
#D18F57
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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