#BA6A8A#BA6A8A

#BA6A8A is a light, moderate pink. Relative luminance 0.226; OKLCH L 62.3% C 0.109 H 355.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA6A8A
RGBrgb(186, 106, 138)
HSLhsl(336, 37%, 57%)
HSVhsv(336, 43%, 73%)
CMYKcmyk(0%, 43%, 25.8%, 27.1%)
CIE-LABlab(54.64, 35.91, -3.57)
CIE-LCHlch(54.64, 36.09, 354.32°)
OKLaboklab(62.31% 0.1082 -0.009)
OKLCHoklch(62.31% 0.109 355.3)
XYZxyz(29.9920, 22.5844, 26.8194)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6A8A #6ABA9A
analogous
#BA6AB2 #BA6A8A #BA726A
triadic
#BA6A8A #8ABA6A #6A8ABA
tetradic
#BA6A8A #B2BA6A #6ABA9A #726ABA
square
#BA6A8A #B2BA6A #6ABA9A #726ABA
split-complementary
#BA6A8A #6ABA72 #6AB2BA
monochromatic
#74364F #9E496B #BA6A8A #CD94AB #E1BECC

Accessibility & contrast

On white

3.81
#BA6A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#BA6A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6A8A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6A8A#FFFFFF#000000##000000
##BA6A8A1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#747A8B
Deuteranopia (green-blind)
#888888
Tritanopia (blue-blind)
#C56675
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba6a8a;
/* rgb */ color: rgb(186, 106, 138);
/* oklch */ color: oklch(62.3% 0.109 355.3);
Tailwind
colors: {
  custom: {
    50: '#d196ac',
    500: '#ba6a8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba6a8a;
$custom-light: #d196ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6a8a",
  "rgb": {
    "r": 186,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 336,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62306,
    "c": 0.1086,
    "h": 355.3
  },
  "luminance": 0.22582
}

Semantic roles & 50–950 ramp

primary
#BA6A8A
secondary
#B0D0C3
accent
#CD9F5B
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140D10
muted
#837E7F

Preview Lab

Preview with #BA6A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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