#BA6787#BA6787

#BA6787 is a mid, moderate pink. Relative luminance 0.219; OKLCH L 61.7% C 0.112 H 356.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA6787
RGBrgb(186, 103, 135)
HSLhsl(337, 38%, 57%)
HSVhsv(337, 45%, 73%)
CMYKcmyk(0%, 44.6%, 27.4%, 27.1%)
CIE-LABlab(53.91, 37.09, -2.89)
CIE-LCHlch(53.91, 37.20, 355.55°)
OKLaboklab(61.72% 0.112 -0.0071)
OKLCHoklch(61.72% 0.112 356.4)
XYZxyz(29.4741, 21.8912, 25.5900)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6787 #67BA9A
analogous
#BA67B1 #BA6787 #BA7167
triadic
#BA6787 #87BA67 #6787BA
tetradic
#BA6787 #B1BA67 #67BA9A #7167BA
square
#BA6787 #B1BA67 #67BA9A #7167BA
split-complementary
#BA6787 #67BA71 #67B1BA
monochromatic
#73344C #9D4768 #BA6787 #CD91A8 #E0BBC9

Accessibility & contrast

On white

3.90
#BA6787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#BA6787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6787
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6787#FFFFFF#000000##000000
##BA67871.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#727888
Deuteranopia (green-blind)
#878685
Tritanopia (blue-blind)
#C66372
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba6787;
/* rgb */ color: rgb(186, 103, 135);
/* oklch */ color: oklch(61.7% 0.112 356.4);
Tailwind
colors: {
  custom: {
    50: '#d194a9',
    500: '#ba6787',
    950: '#000000',
  },
}
SCSS
$custom: #ba6787;
$custom-light: #d194a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6787",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 336.867,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.11224,
    "h": 356.4
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#BA6787
secondary
#ADCFC2
accent
#CEA15A
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140D10
muted
#837E7F

Preview Lab

Preview with #BA6787

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

Preview Lab → · Contrast checker → · Palette generator →

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