#BA8FAC#BA8FAC

#BA8FAC is a light, moderate pink. Relative luminance 0.331; OKLCH L 70.0% C 0.065 H 338.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#BA8FAC
RGBrgb(186, 143, 172)
HSLhsl(320, 24%, 65%)
HSVhsv(320, 23%, 73%)
CMYKcmyk(0%, 23.1%, 7.5%, 27.1%)
CIE-LABlab(64.21, 21.04, -8.92)
CIE-LCHlch(64.21, 22.85, 337.02°)
OKLaboklab(69.96% 0.0605 -0.0236)
OKLCHoklch(69.96% 0.065 338.7)
XYZxyz(37.5181, 33.0638, 43.4274)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FAC #8FBA9D
analogous
#B38FBA #BA8FAC #BA8F97
triadic
#BA8FAC #ACBA8F #8FACBA
tetradic
#BA8FAC #BAB38F #8FBA9D #8F97BA
square
#BA8FAC #BAB38F #8FBA9D #8F97BA
split-complementary
#BA8FAC #97BA8F #8FBAB3
monochromatic
#804F70 #A36990 #BA8FAC #D1B5C8 #E9DBE4

Accessibility & contrast

On white

2.76
#BA8FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#BA8FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FAC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FAC#FFFFFF#000000##000000
##BA8FAC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9098AD
Deuteranopia (green-blind)
#9A9EAB
Tritanopia (blue-blind)
#BF9099
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba8fac;
/* rgb */ color: rgb(186, 143, 172);
/* oklch */ color: oklch(70.0% 0.065 338.7);
Tailwind
colors: {
  custom: {
    50: '#cfb0c4',
    500: '#ba8fac',
    950: '#000000',
  },
}
SCSS
$custom: #ba8fac;
$custom-light: #cfb0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8fac",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 319.535,
    "s": 23.757,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69962,
    "c": 0.06499,
    "h": 338.7
  },
  "luminance": 0.33063
}

Semantic roles & 50–950 ramp

primary
#BA8FAC
secondary
#CBDAD0
accent
#A26243
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#141012
muted
#827F81

Preview Lab

Preview with #BA8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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