#BA8EA7#BA8EA7

#BA8EA7 is a light, moderate pink. Relative luminance 0.326; OKLCH L 69.6% C 0.063 H 343.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#BA8EA7
RGBrgb(186, 142, 167)
HSLhsl(326, 24%, 64%)
HSVhsv(326, 24%, 73%)
CMYKcmyk(0%, 23.7%, 10.2%, 27.1%)
CIE-LABlab(63.82, 20.71, -6.69)
CIE-LCHlch(63.82, 21.76, 342.11°)
OKLaboklab(69.61% 0.0604 -0.0176)
OKLCHoklch(69.61% 0.063 343.8)
XYZxyz(36.8975, 32.5764, 40.8960)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8EA7 #8EBAA1
analogous
#B78EBA #BA8EA7 #BA8E91
triadic
#BA8EA7 #A7BA8E #8EA7BA
tetradic
#BA8EA7 #BAB78E #8EBAA1 #8E91BA
square
#BA8EA7 #BAB78E #8EBAA1 #8E91BA
split-complementary
#BA8EA7 #91BA8E #8EBAB7
monochromatic
#804E6A #A36889 #BA8EA7 #D1B4C5 #E8DAE2

Accessibility & contrast

On white

2.79
#BA8EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#BA8EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8EA7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8EA7#FFFFFF#000000##000000
##BA8EA71.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9097A8
Deuteranopia (green-blind)
#9A9DA6
Tritanopia (blue-blind)
#C08E96
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba8ea7;
/* rgb */ color: rgb(186, 142, 167);
/* oklch */ color: oklch(69.6% 0.063 343.8);
Tailwind
colors: {
  custom: {
    50: '#cfafc1',
    500: '#ba8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #ba8ea7;
$custom-light: #cfafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8ea7",
  "rgb": {
    "r": 186,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 325.909,
    "s": 24.176,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.06287,
    "h": 343.8
  },
  "luminance": 0.32575
}

Semantic roles & 50–950 ramp

primary
#BA8EA7
secondary
#CADAD1
accent
#A36C43
background
#FCFAFB
surface
#F9F4F7
border
#D2CED0
text
#141012
muted
#827F81

Preview Lab

Preview with #BA8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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