#BA7EA4#BA7EA4

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

Color values

HEX#BA7EA4
RGBrgb(186, 126, 164)
HSLhsl(322, 30%, 61%)
HSVhsv(322, 32%, 73%)
CMYKcmyk(0%, 32.3%, 11.8%, 27.1%)
CIE-LABlab(59.93, 29.09, -10.78)
CIE-LCHlch(59.93, 31.02, 339.67°)
OKLaboklab(66.59% 0.0849 -0.0285)
OKLCHoklch(66.59% 0.09 341.4)
XYZxyz(34.4113, 28.0428, 38.7150)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7EA4 #7EBA94
analogous
#B27EBA #BA7EA4 #BA7E86
triadic
#BA7EA4 #A4BA7E #7EA4BA
tetradic
#BA7EA4 #BAB27E #7EBA94 #7E86BA
square
#BA7EA4 #BAB27E #7EBA94 #7E86BA
split-complementary
#BA7EA4 #86BA7E #7EBAB2
monochromatic
#7C4266 #A35788 #BA7EA4 #CFA6C0 #E5CEDC

Accessibility & contrast

On white

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

On black

6.61
#BA7EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7EA4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7EA4#FFFFFF#000000##000000
##BA7EA41.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#818BA5
Deuteranopia (green-blind)
#8F94A2
Tritanopia (blue-blind)
#C17F8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba7ea4;
/* rgb */ color: rgb(186, 126, 164);
/* oklch */ color: oklch(66.6% 0.090 341.4);
Tailwind
colors: {
  custom: {
    50: '#cfa4bf',
    500: '#ba7ea4',
    950: '#000000',
  },
}
SCSS
$custom: #ba7ea4;
$custom-light: #cfa4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7ea4",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 322,
    "s": 30.303,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66594,
    "c": 0.08953,
    "h": 341.4
  },
  "luminance": 0.28041
}

Semantic roles & 50–950 ramp

primary
#BA7EA4
secondary
#BFD5C7
accent
#A9643D
background
#FCFAFB
surface
#F9F4F7
border
#D2CED0
text
#140F12
muted
#827F81

Preview Lab

Preview with #BA7EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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