#BA7EA9#BA7EA9

#BA7EA9 is a light, moderate pink. Relative luminance 0.282; OKLCH L 66.8% C 0.094 H 337.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#BA7EA9
RGBrgb(186, 126, 169)
HSLhsl(317, 30%, 61%)
HSVhsv(317, 32%, 73%)
CMYKcmyk(0%, 32.3%, 9.1%, 27.1%)
CIE-LABlab(60.09, 29.96, -13.39)
CIE-LCHlch(60.09, 32.81, 335.91°)
OKLaboklab(66.77% 0.0865 -0.0357)
OKLCHoklch(66.77% 0.094 337.6)
XYZxyz(34.8718, 28.2270, 41.1399)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7EA9 #7EBA8F
analogous
#AD7EBA #BA7EA9 #BA7E8B
triadic
#BA7EA9 #A9BA7E #7EA9BA
tetradic
#BA7EA9 #BAAD7E #7EBA8F #7E8BBA
square
#BA7EA9 #BAAD7E #7EBA8F #7E8BBA
split-complementary
#BA7EA9 #8BBA7E #7EBAAD
monochromatic
#7C426B #A3578E #BA7EA9 #CFA6C4 #E5CEDE

Accessibility & contrast

On white

3.16
#BA7EA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#BA7EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7EA9
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7EA9#FFFFFF#000000##000000
##BA7EA91.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BAB
Deuteranopia (green-blind)
#8E94A7
Tritanopia (blue-blind)
#C0808D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba7ea9;
/* rgb */ color: rgb(186, 126, 169);
/* oklch */ color: oklch(66.8% 0.094 337.6);
Tailwind
colors: {
  custom: {
    50: '#cfa4c2',
    500: '#ba7ea9',
    950: '#000000',
  },
}
SCSS
$custom: #ba7ea9;
$custom-light: #cfa4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7ea9",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 169
  },
  "hsl": {
    "h": 317,
    "s": 30.303,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66775,
    "c": 0.09356,
    "h": 337.6
  },
  "luminance": 0.28225
}

Semantic roles & 50–950 ramp

primary
#BA7EA9
secondary
#BFD5C5
accent
#A95B3D
background
#FCFAFB
surface
#F9F4F7
border
#D2CED0
text
#140F12
muted
#827F81

Preview Lab

Preview with #BA7EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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