#BA799B#BA799B

#BA799B is a light, moderate pink. Relative luminance 0.265; OKLCH L 65.4% C 0.092 H 347.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#BA799B
RGBrgb(186, 121, 155)
HSLhsl(329, 32%, 60%)
HSVhsv(329, 35%, 73%)
CMYKcmyk(0%, 34.9%, 16.7%, 27.1%)
CIE-LABlab(58.49, 30.35, -7.75)
CIE-LCHlch(58.49, 31.32, 345.67°)
OKLaboklab(65.4% 0.0899 -0.0203)
OKLCHoklch(65.4% 0.092 347.3)
XYZxyz(33.0037, 26.4823, 34.3772)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA799B #79BA98
analogous
#B879BA #BA799B #BA797A
triadic
#BA799B #9BBA79 #799BBA
tetradic
#BA799B #BAB879 #79BA98 #797ABA
square
#BA799B #BAB879 #79BA98 #797ABA
split-complementary
#BA799B #7ABA79 #79BAB8
monochromatic
#7A3F5E #A2547D #BA799B #CFA1B9 #E4CAD7

Accessibility & contrast

On white

3.34
#BA799B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#BA799B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA799B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA799B#FFFFFF#000000##000000
##BA799B1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E869C
Deuteranopia (green-blind)
#8E9199
Tritanopia (blue-blind)
#C37885
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba799b;
/* rgb */ color: rgb(186, 121, 155);
/* oklch */ color: oklch(65.4% 0.092 347.3);
Tailwind
colors: {
  custom: {
    50: '#d0a0b8',
    500: '#ba799b',
    950: '#000000',
  },
}
SCSS
$custom: #ba799b;
$custom-light: #d0a0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba799b",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 328.615,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65404,
    "c": 0.09212,
    "h": 347.3
  },
  "luminance": 0.2648
}

Semantic roles & 50–950 ramp

primary
#BA799B
secondary
#BBD4C7
accent
#AB703B
background
#FCF9FB
surface
#F9F2F6
border
#D2CCD0
text
#140F11
muted
#827E80

Preview Lab

Preview with #BA799B

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

Preview Lab → · Contrast checker → · Palette generator →

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