#BA7C8D#BA7C8D

#BA7C8D is a light, moderate pink. Relative luminance 0.268; OKLCH L 65.5% C 0.080 H 1.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#BA7C8D
RGBrgb(186, 124, 141)
HSLhsl(344, 31%, 61%)
HSVhsv(344, 33%, 73%)
CMYKcmyk(0%, 33.3%, 24.2%, 27.1%)
CIE-LABlab(58.77, 26.51, 0.73)
CIE-LCHlch(58.77, 26.52, 1.58°)
OKLaboklab(65.48% 0.0799 0.0023)
OKLCHoklch(65.48% 0.08 1.6)
XYZxyz(32.2657, 26.7794, 28.6636)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7C8D #7CBAA9
analogous
#BA7CAC #BA7C8D #BA8A7C
triadic
#BA7C8D #8DBA7C #7C8DBA
tetradic
#BA7C8D #ACBA7C #7CBAA9 #8A7CBA
square
#BA7C8D #ACBA7C #7CBAA9 #8A7CBA
split-complementary
#BA7C8D #7CBA8A #7CACBA
monochromatic
#7B4151 #A3566B #BA7C8D #CFA4B0 #E4CCD3

Accessibility & contrast

On white

3.30
#BA7C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#BA7C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7C8D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7C8D#FFFFFF#000000##000000
##BA7C8D1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84878E
Deuteranopia (green-blind)
#93928C
Tritanopia (blue-blind)
#C47882
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba7c8d;
/* rgb */ color: rgb(186, 124, 141);
/* oklch */ color: oklch(65.5% 0.080 1.6);
Tailwind
colors: {
  custom: {
    50: '#d0a2ae',
    500: '#ba7c8d',
    950: '#000000',
  },
}
SCSS
$custom: #ba7c8d;
$custom-light: #d0a2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7c8d",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 343.548,
    "s": 31,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6548,
    "c": 0.07997,
    "h": 1.6
  },
  "luminance": 0.26777
}

Semantic roles & 50–950 ramp

primary
#BA7C8D
secondary
#BDD5CE
accent
#AA8C3C
background
#FCFAFA
surface
#F9F3F4
border
#D2CDCE
text
#140F10
muted
#827F7F

Preview Lab

Preview with #BA7C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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