#BA799D#BA799D

#BA799D is a light, moderate pink. Relative luminance 0.265; OKLCH L 65.5% C 0.093 H 345.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#BA799D
RGBrgb(186, 121, 157)
HSLhsl(327, 32%, 60%)
HSVhsv(327, 35%, 73%)
CMYKcmyk(0%, 34.9%, 15.6%, 27.1%)
CIE-LABlab(58.56, 30.68, -8.81)
CIE-LCHlch(58.56, 31.92, 343.98°)
OKLaboklab(65.47% 0.0905 -0.0231)
OKLCHoklch(65.47% 0.093 345.7)
XYZxyz(33.1731, 26.5500, 35.2691)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA799D #79BA96
analogous
#B679BA #BA799D #BA797C
triadic
#BA799D #9DBA79 #799DBA
tetradic
#BA799D #BAB679 #79BA96 #797CBA
square
#BA799D #BAB679 #79BA96 #797CBA
split-complementary
#BA799D #7CBA79 #79BAB6
monochromatic
#7A3F5F #A2547F #BA799D #CFA1BB #E4CAD8

Accessibility & contrast

On white

3.33
#BA799D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#BA799D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA799D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA799D#FFFFFF#000000##000000
##BA799D1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E869E
Deuteranopia (green-blind)
#8D919B
Tritanopia (blue-blind)
#C27886
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba799d;
/* rgb */ color: rgb(186, 121, 157);
/* oklch */ color: oklch(65.5% 0.093 345.7);
Tailwind
colors: {
  custom: {
    50: '#d0a0ba',
    500: '#ba799d',
    950: '#000000',
  },
}
SCSS
$custom: #ba799d;
$custom-light: #d0a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba799d",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 326.769,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65474,
    "c": 0.09345,
    "h": 345.7
  },
  "luminance": 0.26548
}

Semantic roles & 50–950 ramp

primary
#BA799D
secondary
#BBD4C6
accent
#AB6D3B
background
#FCF9FB
surface
#F9F2F6
border
#D2CCD0
text
#140F11
muted
#827E80

Preview Lab

Preview with #BA799D

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

Preview Lab → · Contrast checker → · Palette generator →

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