#BA7CA2#BA7CA2

#BA7CA2 is a light, moderate pink. Relative luminance 0.275; OKLCH L 66.2% C 0.092 H 342.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#BA7CA2
RGBrgb(186, 124, 162)
HSLhsl(323, 31%, 61%)
HSVhsv(323, 33%, 73%)
CMYKcmyk(0%, 33.3%, 12.9%, 27.1%)
CIE-LABlab(59.40, 29.85, -10.42)
CIE-LCHlch(59.40, 31.62, 340.76°)
OKLaboklab(66.17% 0.0874 -0.0275)
OKLCHoklch(66.17% 0.092 342.5)
XYZxyz(33.9790, 27.4648, 37.6869)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7CA2 #7CBA94
analogous
#B37CBA #BA7CA2 #BA7C83
triadic
#BA7CA2 #A2BA7C #7CA2BA
tetradic
#BA7CA2 #BAB37C #7CBA94 #7C83BA
square
#BA7CA2 #BAB37C #7CBA94 #7C83BA
split-complementary
#BA7CA2 #83BA7C #7CBAB3
monochromatic
#7B4164 #A35685 #BA7CA2 #CFA4BE #E4CCDB

Accessibility & contrast

On white

3.23
#BA7CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#BA7CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7CA2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7CA2#FFFFFF#000000##000000
##BA7CA21.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A3
Deuteranopia (green-blind)
#8E93A0
Tritanopia (blue-blind)
#C27C89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba7ca2;
/* rgb */ color: rgb(186, 124, 162);
/* oklch */ color: oklch(66.2% 0.092 342.5);
Tailwind
colors: {
  custom: {
    50: '#d0a3bd',
    500: '#ba7ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ba7ca2;
$custom-light: #d0a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7ca2",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 323.226,
    "s": 31,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66172,
    "c": 0.09163,
    "h": 342.5
  },
  "luminance": 0.27463
}

Semantic roles & 50–950 ramp

primary
#BA7CA2
secondary
#BDD5C6
accent
#AA663C
background
#FCFAFB
surface
#F9F4F6
border
#D2CED0
text
#140F12
muted
#827F81

Preview Lab

Preview with #BA7CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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