#BA7AA2#BA7AA2

#BA7AA2 is a light, moderate pink. Relative luminance 0.270; OKLCH L 65.8% C 0.095 H 342.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#BA7AA2
RGBrgb(186, 122, 162)
HSLhsl(323, 32%, 60%)
HSVhsv(323, 34%, 73%)
CMYKcmyk(0%, 34.4%, 12.9%, 27.1%)
CIE-LABlab(58.95, 30.96, -11.10)
CIE-LCHlch(58.95, 32.89, 340.27°)
OKLaboklab(65.82% 0.0906 -0.0294)
OKLCHoklch(65.82% 0.095 342)
XYZxyz(33.7309, 26.9686, 37.6042)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7AA2 #7ABA92
analogous
#B27ABA #BA7AA2 #BA7A82
triadic
#BA7AA2 #A2BA7A #7AA2BA
tetradic
#BA7AA2 #BAB27A #7ABA92 #7A82BA
square
#BA7AA2 #BAB27A #7ABA92 #7A82BA
split-complementary
#BA7AA2 #82BA7A #7ABAB2
monochromatic
#7A3F64 #A25485 #BA7AA2 #CFA2BE #E4CBDA

Accessibility & contrast

On white

3.28
#BA7AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#BA7AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7AA2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7AA2#FFFFFF#000000##000000
##BA7AA21.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D88A4
Deuteranopia (green-blind)
#8D92A0
Tritanopia (blue-blind)
#C27A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba7aa2;
/* rgb */ color: rgb(186, 122, 162);
/* oklch */ color: oklch(65.8% 0.095 342.0);
Tailwind
colors: {
  custom: {
    50: '#d0a1bd',
    500: '#ba7aa2',
    950: '#000000',
  },
}
SCSS
$custom: #ba7aa2;
$custom-light: #d0a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7aa2",
  "rgb": {
    "r": 186,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 322.5,
    "s": 31.683,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.09524,
    "h": 342
  },
  "luminance": 0.26967
}

Semantic roles & 50–950 ramp

primary
#BA7AA2
secondary
#BCD4C5
accent
#AA653B
background
#FCFAFB
surface
#F9F3F6
border
#D2CDD0
text
#140F12
muted
#827F81

Preview Lab

Preview with #BA7AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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