#BA6786#BA6786

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

Color values

HEX#BA6786
RGBrgb(186, 103, 134)
HSLhsl(338, 38%, 57%)
HSVhsv(338, 45%, 73%)
CMYKcmyk(0%, 44.6%, 28%, 27.1%)
CIE-LABlab(53.88, 36.95, -2.34)
CIE-LCHlch(53.88, 37.02, 356.37°)
OKLaboklab(61.69% 0.1117 -0.0057)
OKLCHoklch(61.69% 0.112 357.1)
XYZxyz(29.4040, 21.8632, 25.2210)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6786 #67BA9B
analogous
#BA67B0 #BA6786 #BA7267
triadic
#BA6786 #86BA67 #6786BA
tetradic
#BA6786 #B0BA67 #67BA9B #7267BA
square
#BA6786 #B0BA67 #67BA9B #7267BA
split-complementary
#BA6786 #67BA72 #67B0BA
monochromatic
#73344B #9D4767 #BA6786 #CD91A8 #E0BBC9

Accessibility & contrast

On white

3.91
#BA6786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#BA6786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6786
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6786#FFFFFF#000000##000000
##BA67861.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#727887
Deuteranopia (green-blind)
#878684
Tritanopia (blue-blind)
#C66272
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba6786;
/* rgb */ color: rgb(186, 103, 134);
/* oklch */ color: oklch(61.7% 0.112 357.1);
Tailwind
colors: {
  custom: {
    50: '#d194a9',
    500: '#ba6786',
    950: '#000000',
  },
}
SCSS
$custom: #ba6786;
$custom-light: #d194a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6786",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 337.59,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61691,
    "c": 0.1118,
    "h": 357.1
  },
  "luminance": 0.21861
}

Semantic roles & 50–950 ramp

primary
#BA6786
secondary
#ADCFC3
accent
#CEA25A
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140D0F
muted
#837E7F

Preview Lab

Preview with #BA6786

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

Preview Lab → · Contrast checker → · Palette generator →

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