#BA8EA8#BA8EA8

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

Color values

HEX#BA8EA8
RGBrgb(186, 142, 168)
HSLhsl(325, 24%, 64%)
HSVhsv(325, 24%, 73%)
CMYKcmyk(0%, 23.7%, 9.7%, 27.1%)
CIE-LABlab(63.85, 20.88, -7.21)
CIE-LCHlch(63.85, 22.09, 340.96°)
OKLaboklab(69.64% 0.0607 -0.019)
OKLCHoklch(69.64% 0.064 342.6)
XYZxyz(36.9903, 32.6136, 41.3847)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8EA8 #8EBAA0
analogous
#B68EBA #BA8EA8 #BA8E92
triadic
#BA8EA8 #A8BA8E #8EA8BA
tetradic
#BA8EA8 #BAB68E #8EBAA0 #8E92BA
square
#BA8EA8 #BAB68E #8EBAA0 #8E92BA
split-complementary
#BA8EA8 #92BA8E #8EBAB6
monochromatic
#804E6B #A3688B #BA8EA8 #D1B4C5 #E8DAE3

Accessibility & contrast

On white

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

On black

7.52
#BA8EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8EA8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8EA8#FFFFFF#000000##000000
##BA8EA81.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9097A9
Deuteranopia (green-blind)
#9A9DA7
Tritanopia (blue-blind)
#C08E97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba8ea8;
/* rgb */ color: rgb(186, 142, 168);
/* oklch */ color: oklch(69.6% 0.064 342.6);
Tailwind
colors: {
  custom: {
    50: '#cfafc1',
    500: '#ba8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ba8ea8;
$custom-light: #cfafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8ea8",
  "rgb": {
    "r": 186,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 324.545,
    "s": 24.176,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6964,
    "c": 0.0636,
    "h": 342.6
  },
  "luminance": 0.32612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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