#BA6789#BA6789

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

Color values

HEX#BA6789
RGBrgb(186, 103, 137)
HSLhsl(335, 38%, 57%)
HSVhsv(335, 45%, 73%)
CMYKcmyk(0%, 44.6%, 26.3%, 27.1%)
CIE-LABlab(53.97, 37.37, -3.98)
CIE-LCHlch(53.97, 37.58, 353.93°)
OKLaboklab(61.79% 0.1127 -0.01)
OKLCHoklch(61.79% 0.113 354.9)
XYZxyz(29.6162, 21.9480, 26.3386)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6789 #67BA98
analogous
#BA67B3 #BA6789 #BA6F67
triadic
#BA6789 #89BA67 #6789BA
tetradic
#BA6789 #B3BA67 #67BA98 #6F67BA
square
#BA6789 #B3BA67 #67BA98 #6F67BA
split-complementary
#BA6789 #67BA6F #67B3BA
monochromatic
#73344E #9D476A #BA6789 #CD91AA #E0BBCA

Accessibility & contrast

On white

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

On black

5.39
#BA6789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6789
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6789#FFFFFF#000000##000000
##BA67891.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71788A
Deuteranopia (green-blind)
#868787
Tritanopia (blue-blind)
#C56373
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba6789;
/* rgb */ color: rgb(186, 103, 137);
/* oklch */ color: oklch(61.8% 0.113 354.9);
Tailwind
colors: {
  custom: {
    50: '#d194ab',
    500: '#ba6789',
    950: '#000000',
  },
}
SCSS
$custom: #ba6789;
$custom-light: #d194ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6789",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 137
  },
  "hsl": {
    "h": 335.422,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.11315,
    "h": 354.9
  },
  "luminance": 0.21946
}

Semantic roles & 50–950 ramp

primary
#BA6789
secondary
#ADCFC1
accent
#CE9E5A
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140D10
muted
#837E7F

Preview Lab

Preview with #BA6789

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

Preview Lab → · Contrast checker → · Palette generator →

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