#BA6798#BA6798

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

Color values

HEX#BA6798
RGBrgb(186, 103, 152)
HSLhsl(325, 38%, 57%)
HSVhsv(325, 45%, 73%)
CMYKcmyk(0%, 44.6%, 18.3%, 27.1%)
CIE-LABlab(54.46, 39.61, -12.05)
CIE-LCHlch(54.46, 41.41, 343.08°)
OKLaboklab(62.32% 0.1176 -0.0318)
OKLCHoklch(62.32% 0.122 344.9)
XYZxyz(30.7679, 22.4087, 32.4045)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6798 #67BA89
analogous
#B367BA #BA6798 #BA676F
triadic
#BA6798 #98BA67 #6798BA
tetradic
#BA6798 #BAB367 #67BA89 #676FBA
square
#BA6798 #BAB367 #67BA89 #676FBA
split-complementary
#BA6798 #6FBA67 #67BAB3
monochromatic
#733459 #9D477A #BA6798 #CD91B5 #E0BBD1

Accessibility & contrast

On white

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

On black

5.48
#BA6798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6798
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6798#FFFFFF#000000##000000
##BA67981.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba6798;
/* rgb */ color: rgb(186, 103, 152);
/* oklch */ color: oklch(62.3% 0.122 344.9);
Tailwind
colors: {
  custom: {
    50: '#d094b6',
    500: '#ba6798',
    950: '#000000',
  },
}
SCSS
$custom: #ba6798;
$custom-light: #d094b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6798",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 324.578,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62316,
    "c": 0.12183,
    "h": 344.9
  },
  "luminance": 0.22407
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA6798

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

Preview Lab → · Contrast checker → · Palette generator →

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