#BA6788#BA6788

#BA6788 is a mid, moderate pink. Relative luminance 0.219; OKLCH L 61.8% C 0.113 H 355.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA6788
RGBrgb(186, 103, 136)
HSLhsl(336, 38%, 57%)
HSVhsv(336, 45%, 73%)
CMYKcmyk(0%, 44.6%, 26.9%, 27.1%)
CIE-LABlab(53.94, 37.23, -3.43)
CIE-LCHlch(53.94, 37.39, 354.73°)
OKLaboklab(61.76% 0.1124 -0.0086)
OKLCHoklch(61.76% 0.113 355.6)
XYZxyz(29.5448, 21.9195, 25.9626)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6788 #67BA99
analogous
#BA67B2 #BA6788 #BA7067
triadic
#BA6788 #88BA67 #6788BA
tetradic
#BA6788 #B2BA67 #67BA99 #7067BA
square
#BA6788 #B2BA67 #67BA99 #7067BA
split-complementary
#BA6788 #67BA70 #67B2BA
monochromatic
#73344D #9D4769 #BA6788 #CD91A9 #E0BBCA

Accessibility & contrast

On white

3.90
#BA6788 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#BA6788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6788
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6788#FFFFFF#000000##000000
##BA67881.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#727889
Deuteranopia (green-blind)
#878786
Tritanopia (blue-blind)
#C66373
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba6788;
/* rgb */ color: rgb(186, 103, 136);
/* oklch */ color: oklch(61.8% 0.113 355.6);
Tailwind
colors: {
  custom: {
    50: '#d194aa',
    500: '#ba6788',
    950: '#000000',
  },
}
SCSS
$custom: #ba6788;
$custom-light: #d194aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6788",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 136
  },
  "hsl": {
    "h": 336.145,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.11269,
    "h": 355.6
  },
  "luminance": 0.21917
}

Semantic roles & 50–950 ramp

primary
#BA6788
secondary
#ADCFC2
accent
#CEA05A
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140D10
muted
#837E7F

Preview Lab

Preview with #BA6788

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

Preview Lab → · Contrast checker → · Palette generator →

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