#BA8AAF#BA8AAF

#BA8AAF is a light, moderate pink. Relative luminance 0.317; OKLCH L 69.1% C 0.077 H 334.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BA8AAF
RGBrgb(186, 138, 175)
HSLhsl(314, 26%, 64%)
HSVhsv(314, 26%, 73%)
CMYKcmyk(0%, 25.8%, 5.9%, 27.1%)
CIE-LABlab(63.10, 24.36, -12.28)
CIE-LCHlch(63.10, 27.28, 333.26°)
OKLaboklab(69.14% 0.0695 -0.0327)
OKLCHoklch(69.14% 0.077 334.8)
XYZxyz(37.0755, 31.7125, 44.7173)
Luminance0.3171 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8AAF #8ABA95
analogous
#AD8ABA #BA8AAF #BA8A97
triadic
#BA8AAF #AFBA8A #8AAFBA
tetradic
#BA8AAF #BAAD8A #8ABA95 #8A97BA
square
#BA8AAF #BAAD8A #8ABA95 #8A97BA
split-complementary
#BA8AAF #97BA8A #8ABAAD
monochromatic
#7F4B73 #A36495 #BA8AAF #D1B0C9 #E7D7E4

Accessibility & contrast

On white

2.86
#BA8AAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BA8AAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8AAF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8AAF#FFFFFF#000000##000000
##BA8AAF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A95B0
Deuteranopia (green-blind)
#959BAD
Tritanopia (blue-blind)
#BF8C97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba8aaf;
/* rgb */ color: rgb(186, 138, 175);
/* oklch */ color: oklch(69.1% 0.077 334.8);
Tailwind
colors: {
  custom: {
    50: '#cfacc6',
    500: '#ba8aaf',
    950: '#000000',
  },
}
SCSS
$custom: #ba8aaf;
$custom-light: #cfacc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8aaf",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 313.75,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69143,
    "c": 0.07678,
    "h": 334.8
  },
  "luminance": 0.31711
}

Semantic roles & 50–950 ramp

primary
#BA8AAF
secondary
#C7D8CB
accent
#A45841
background
#FCFAFC
surface
#F9F4F8
border
#D2CED1
text
#141013
muted
#827F82

Preview Lab

Preview with #BA8AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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