#BA798F#BA798F

#BA798F is a light, moderate pink. Relative luminance 0.261; OKLCH L 65.0% C 0.086 H 357.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#BA798F
RGBrgb(186, 121, 143)
HSLhsl(340, 32%, 60%)
HSVhsv(340, 35%, 73%)
CMYKcmyk(0%, 34.9%, 23.1%, 27.1%)
CIE-LABlab(58.13, 28.47, -1.36)
CIE-LCHlch(58.13, 28.50, 357.27°)
OKLaboklab(65.01% 0.0856 -0.0032)
OKLCHoklch(65.01% 0.086 357.9)
XYZxyz(32.0456, 26.0990, 29.3310)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA798F #79BAA4
analogous
#BA79B0 #BA798F #BA8379
triadic
#BA798F #8FBA79 #798FBA
tetradic
#BA798F #B0BA79 #79BAA4 #8379BA
square
#BA798F #B0BA79 #79BAA4 #8379BA
split-complementary
#BA798F #79BA83 #79B0BA
monochromatic
#7A3F53 #A2546E #BA798F #CFA1B1 #E4CAD3

Accessibility & contrast

On white

3.38
#BA798F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#BA798F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA798F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA798F#FFFFFF#000000##000000
##BA798F1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818590
Deuteranopia (green-blind)
#91908E
Tritanopia (blue-blind)
#C47681
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba798f;
/* rgb */ color: rgb(186, 121, 143);
/* oklch */ color: oklch(65.0% 0.086 357.9);
Tailwind
colors: {
  custom: {
    50: '#d0a0af',
    500: '#ba798f',
    950: '#000000',
  },
}
SCSS
$custom: #ba798f;
$custom-light: #d0a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba798f",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 339.692,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6501,
    "c": 0.08567,
    "h": 357.9
  },
  "luminance": 0.26097
}

Semantic roles & 50–950 ramp

primary
#BA798F
secondary
#BBD4CB
accent
#AB853B
background
#FCF9FA
surface
#F9F2F4
border
#D2CCCE
text
#140F10
muted
#827E7F

Preview Lab

Preview with #BA798F

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

Preview Lab → · Contrast checker → · Palette generator →

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