#BA7EA3#BA7EA3

#BA7EA3 is a light, moderate pink. Relative luminance 0.280; OKLCH L 66.6% C 0.089 H 342.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#BA7EA3
RGBrgb(186, 126, 163)
HSLhsl(323, 30%, 61%)
HSVhsv(323, 32%, 73%)
CMYKcmyk(0%, 32.3%, 12.4%, 27.1%)
CIE-LABlab(59.89, 28.92, -10.26)
CIE-LCHlch(59.89, 30.68, 340.47°)
OKLaboklab(66.56% 0.0845 -0.0271)
OKLCHoklch(66.56% 0.089 342.2)
XYZxyz(34.3214, 28.0068, 38.2413)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7EA3 #7EBA95
analogous
#B37EBA #BA7EA3 #BA7E85
triadic
#BA7EA3 #A3BA7E #7EA3BA
tetradic
#BA7EA3 #BAB37E #7EBA95 #7E85BA
square
#BA7EA3 #BAB37E #7EBA95 #7E85BA
split-complementary
#BA7EA3 #85BA7E #7EBAB3
monochromatic
#7C4266 #A35786 #BA7EA3 #CFA6BF #E5CEDC

Accessibility & contrast

On white

3.18
#BA7EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#BA7EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7EA3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7EA3#FFFFFF#000000##000000
##BA7EA31.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#818BA4
Deuteranopia (green-blind)
#8F94A1
Tritanopia (blue-blind)
#C17E8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba7ea3;
/* rgb */ color: rgb(186, 126, 163);
/* oklch */ color: oklch(66.6% 0.089 342.2);
Tailwind
colors: {
  custom: {
    50: '#cfa4be',
    500: '#ba7ea3',
    950: '#000000',
  },
}
SCSS
$custom: #ba7ea3;
$custom-light: #cfa4be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7ea3",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 323,
    "s": 30.303,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66559,
    "c": 0.08876,
    "h": 342.2
  },
  "luminance": 0.28005
}

Semantic roles & 50–950 ramp

primary
#BA7EA3
secondary
#BFD5C7
accent
#A9663D
background
#FCFAFB
surface
#F9F4F6
border
#D2CED0
text
#140F12
muted
#827F81

Preview Lab

Preview with #BA7EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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