#BA6799#BA6799

#BA6799 is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.4% C 0.123 H 344.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA6799
RGBrgb(186, 103, 153)
HSLhsl(324, 38%, 57%)
HSVhsv(324, 45%, 73%)
CMYKcmyk(0%, 44.6%, 17.7%, 27.1%)
CIE-LABlab(54.49, 39.77, -12.58)
CIE-LCHlch(54.49, 41.71, 342.44°)
OKLaboklab(62.35% 0.1179 -0.0333)
OKLCHoklch(62.35% 0.123 344.2)
XYZxyz(30.8502, 22.4416, 32.8376)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6799 #67BA88
analogous
#B267BA #BA6799 #BA6770
triadic
#BA6799 #99BA67 #6799BA
tetradic
#BA6799 #BAB267 #67BA88 #6770BA
square
#BA6799 #BAB267 #67BA88 #6770BA
split-complementary
#BA6799 #70BA67 #67BAB2
monochromatic
#73345A #9D477B #BA6799 #CD91B5 #E0BBD1

Accessibility & contrast

On white

3.83
#BA6799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#BA6799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6799
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6799#FFFFFF#000000##000000
##BA67991.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7A9B
Deuteranopia (green-blind)
#828797
Tritanopia (blue-blind)
#C46779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba6799;
/* rgb */ color: rgb(186, 103, 153);
/* oklch */ color: oklch(62.4% 0.123 344.2);
Tailwind
colors: {
  custom: {
    50: '#d094b7',
    500: '#ba6799',
    950: '#000000',
  },
}
SCSS
$custom: #ba6799;
$custom-light: #d094b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6799",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 323.855,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62353,
    "c": 0.12251,
    "h": 344.2
  },
  "luminance": 0.2244
}

Semantic roles & 50–950 ramp

primary
#BA6799
secondary
#ADCFBB
accent
#CE885A
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140D11
muted
#837E80

Preview Lab

Preview with #BA6799

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

Preview Lab → · Contrast checker → · Palette generator →

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