#BA6797#BA6797

#BA6797 is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.3% C 0.121 H 345.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA6797
RGBrgb(186, 103, 151)
HSLhsl(325, 38%, 57%)
HSVhsv(325, 45%, 73%)
CMYKcmyk(0%, 44.6%, 18.8%, 27.1%)
CIE-LABlab(54.42, 39.46, -11.52)
CIE-LCHlch(54.42, 41.10, 343.73°)
OKLaboklab(62.28% 0.1173 -0.0304)
OKLCHoklch(62.28% 0.121 345.5)
XYZxyz(30.6864, 22.3761, 31.9749)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6797 #67BA8A
analogous
#B467BA #BA6797 #BA676E
triadic
#BA6797 #97BA67 #6797BA
tetradic
#BA6797 #BAB467 #67BA8A #676EBA
square
#BA6797 #BAB467 #67BA8A #676EBA
split-complementary
#BA6797 #6EBA67 #67BAB4
monochromatic
#733458 #9D4779 #BA6797 #CD91B4 #E0BBD1

Accessibility & contrast

On white

3.84
#BA6797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#BA6797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6797
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6797#FFFFFF#000000##000000
##BA67971.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7A99
Deuteranopia (green-blind)
#838795
Tritanopia (blue-blind)
#C46679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba6797;
/* rgb */ color: rgb(186, 103, 151);
/* oklch */ color: oklch(62.3% 0.121 345.5);
Tailwind
colors: {
  custom: {
    50: '#d094b5',
    500: '#ba6797',
    950: '#000000',
  },
}
SCSS
$custom: #ba6797;
$custom-light: #d094b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6797",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 325.301,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62279,
    "c": 0.12116,
    "h": 345.5
  },
  "luminance": 0.22374
}

Semantic roles & 50–950 ramp

primary
#BA6797
secondary
#ADCFBC
accent
#CE8B5A
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140D11
muted
#837E80

Preview Lab

Preview with #BA6797

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

Preview Lab → · Contrast checker → · Palette generator →

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