#BA6782#BA6782

#BA6782 is a mid, moderate pink. Relative luminance 0.218; OKLCH L 61.6% C 0.110 H 0.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA6782
RGBrgb(186, 103, 130)
HSLhsl(340, 38%, 57%)
HSVhsv(340, 45%, 73%)
CMYKcmyk(0%, 44.6%, 30.1%, 27.1%)
CIE-LABlab(53.76, 36.40, -0.16)
CIE-LCHlch(53.76, 36.40, 359.75°)
OKLaboklab(61.56% 0.1102 0.0001)
OKLCHoklch(61.56% 0.11 0)
XYZxyz(29.1303, 21.7537, 23.7794)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6782 #67BA9F
analogous
#BA67AC #BA6782 #BA7667
triadic
#BA6782 #82BA67 #6782BA
tetradic
#BA6782 #ACBA67 #67BA9F #7667BA
square
#BA6782 #ACBA67 #67BA9F #7667BA
split-complementary
#BA6782 #67BA76 #67ACBA
monochromatic
#733448 #9D4763 #BA6782 #CD91A5 #E0BBC7

Accessibility & contrast

On white

3.93
#BA6782 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#BA6782 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6782
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6782#FFFFFF#000000##000000
##BA67821.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#737783
Deuteranopia (green-blind)
#888680
Tritanopia (blue-blind)
#C66171
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba6782;
/* rgb */ color: rgb(186, 103, 130);
/* oklch */ color: oklch(61.6% 0.110 0.0);
Tailwind
colors: {
  custom: {
    50: '#d194a6',
    500: '#ba6782',
    950: '#000000',
  },
}
SCSS
$custom: #ba6782;
$custom-light: #d194a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6782",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 130
  },
  "hsl": {
    "h": 340.482,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61564,
    "c": 0.11023,
    "h": 0
  },
  "luminance": 0.21751
}

Semantic roles & 50–950 ramp

primary
#BA6782
secondary
#ADCFC4
accent
#CEA85A
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140D0F
muted
#837E7F

Preview Lab

Preview with #BA6782

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

Preview Lab → · Contrast checker → · Palette generator →

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