#BA7EA1#BA7EA1

#BA7EA1 is a light, moderate pink. Relative luminance 0.279; OKLCH L 66.5% C 0.087 H 343.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#BA7EA1
RGBrgb(186, 126, 161)
HSLhsl(325, 30%, 61%)
HSVhsv(325, 32%, 73%)
CMYKcmyk(0%, 32.3%, 13.4%, 27.1%)
CIE-LABlab(59.83, 28.58, -9.21)
CIE-LCHlch(59.83, 30.02, 342.15°)
OKLaboklab(66.49% 0.0838 -0.0242)
OKLCHoklch(66.49% 0.087 343.9)
XYZxyz(34.1436, 27.9357, 37.3050)
Luminance0.2793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7EA1 #7EBA97
analogous
#B57EBA #BA7EA1 #BA7E83
triadic
#BA7EA1 #A1BA7E #7EA1BA
tetradic
#BA7EA1 #BAB57E #7EBA97 #7E83BA
square
#BA7EA1 #BAB57E #7EBA97 #7E83BA
split-complementary
#BA7EA1 #83BA7E #7EBAB5
monochromatic
#7C4264 #A35784 #BA7EA1 #CFA6BE #E5CEDB

Accessibility & contrast

On white

3.19
#BA7EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#BA7EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7EA1
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7EA1#FFFFFF#000000##000000
##BA7EA11.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#818AA2
Deuteranopia (green-blind)
#90949F
Tritanopia (blue-blind)
#C27E8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba7ea1;
/* rgb */ color: rgb(186, 126, 161);
/* oklch */ color: oklch(66.5% 0.087 343.9);
Tailwind
colors: {
  custom: {
    50: '#cfa4bc',
    500: '#ba7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #ba7ea1;
$custom-light: #cfa4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7ea1",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 325,
    "s": 30.303,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66488,
    "c": 0.08729,
    "h": 343.9
  },
  "luminance": 0.27934
}

Semantic roles & 50–950 ramp

primary
#BA7EA1
secondary
#BFD5C8
accent
#A96A3D
background
#FCFAFB
surface
#F9F4F6
border
#D2CED0
text
#140F12
muted
#827F81

Preview Lab

Preview with #BA7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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