#BA8FA2#BA8FA2

#BA8FA2 is a light, muted pink. Relative luminance 0.327; OKLCH L 69.6% C 0.058 H 350.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#BA8FA2
RGBrgb(186, 143, 162)
HSLhsl(333, 24%, 65%)
HSVhsv(333, 23%, 73%)
CMYKcmyk(0%, 23.1%, 12.9%, 27.1%)
CIE-LABlab(63.91, 19.29, -3.72)
CIE-LCHlch(63.91, 19.65, 349.09°)
OKLaboklab(69.63% 0.0569 -0.0096)
OKLCHoklch(69.63% 0.058 350.4)
XYZxyz(36.5936, 32.6940, 38.5584)
Luminance0.3269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FA2 #8FBAA7
analogous
#BA8FB8 #BA8FA2 #BA928F
triadic
#BA8FA2 #A2BA8F #8FA2BA
tetradic
#BA8FA2 #B8BA8F #8FBAA7 #928FBA
square
#BA8FA2 #B8BA8F #8FBAA7 #928FBA
split-complementary
#BA8FA2 #8FBA92 #8FB8BA
monochromatic
#804F64 #A36983 #BA8FA2 #D1B5C1 #E9DBE1

Accessibility & contrast

On white

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

On black

7.54
#BA8FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FA2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FA2#FFFFFF#000000##000000
##BA8FA21.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A3
Deuteranopia (green-blind)
#9C9DA1
Tritanopia (blue-blind)
#C18E95
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba8fa2;
/* rgb */ color: rgb(186, 143, 162);
/* oklch */ color: oklch(69.6% 0.058 350.4);
Tailwind
colors: {
  custom: {
    50: '#cfb0bd',
    500: '#ba8fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ba8fa2;
$custom-light: #cfb0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8fa2",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 162
  },
  "hsl": {
    "h": 333.488,
    "s": 23.757,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69632,
    "c": 0.05774,
    "h": 350.4
  },
  "luminance": 0.32693
}

Semantic roles & 50–950 ramp

primary
#BA8FA2
secondary
#CBDAD3
accent
#A27843
background
#FCFAFB
surface
#F9F4F6
border
#D2CED0
text
#141012
muted
#827F81

Preview Lab

Preview with #BA8FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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