#BA839B#BA839B

#BA839B is a light, moderate pink. Relative luminance 0.290; OKLCH L 67.2% C 0.075 H 351.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#BA839B
RGBrgb(186, 131, 155)
HSLhsl(334, 28%, 62%)
HSVhsv(334, 30%, 73%)
CMYKcmyk(0%, 29.6%, 16.7%, 27.1%)
CIE-LABlab(60.82, 24.81, -4.30)
CIE-LCHlch(60.82, 25.18, 350.16°)
OKLaboklab(67.18% 0.0737 -0.0111)
OKLCHoklch(67.18% 0.075 351.5)
XYZxyz(34.2826, 29.0399, 34.8035)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA839B #83BAA2
analogous
#BA83B7 #BA839B #BA8783
triadic
#BA839B #9BBA83 #839BBA
tetradic
#BA839B #B7BA83 #83BAA2 #8783BA
square
#BA839B #B7BA83 #83BAA2 #8783BA
split-complementary
#BA839B #83BA87 #83B7BA
monochromatic
#7D465E #A45C7B #BA839B #D0AABB #E6D2DA

Accessibility & contrast

On white

3.08
#BA839B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#BA839B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA839B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA839B#FFFFFF#000000##000000
##BA839B1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#888D9C
Deuteranopia (green-blind)
#95969A
Tritanopia (blue-blind)
#C2818B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba839b;
/* rgb */ color: rgb(186, 131, 155);
/* oklch */ color: oklch(67.2% 0.075 351.5);
Tailwind
colors: {
  custom: {
    50: '#cfa7b8',
    500: '#ba839b',
    950: '#000000',
  },
}
SCSS
$custom: #ba839b;
$custom-light: #cfa7b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba839b",
  "rgb": {
    "r": 186,
    "g": 131,
    "b": 155
  },
  "hsl": {
    "h": 333.818,
    "s": 28.497,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67182,
    "c": 0.07453,
    "h": 351.5
  },
  "luminance": 0.29038
}

Semantic roles & 50–950 ramp

primary
#BA839B
secondary
#C2D6CE
accent
#A7793E
background
#FCFAFB
surface
#F9F4F6
border
#D2CED0
text
#140F11
muted
#827F80

Preview Lab

Preview with #BA839B

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

Preview Lab → · Contrast checker → · Palette generator →

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