#BA798E#BA798E

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

Color values

HEX#BA798E
RGBrgb(186, 121, 142)
HSLhsl(341, 32%, 60%)
HSVhsv(341, 35%, 73%)
CMYKcmyk(0%, 34.9%, 23.7%, 27.1%)
CIE-LABlab(58.10, 28.32, -0.82)
CIE-LCHlch(58.10, 28.33, 358.34°)
OKLaboklab(64.98% 0.0852 -0.0018)
OKLCHoklch(64.98% 0.085 358.8)
XYZxyz(31.9702, 26.0688, 28.9338)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA798E #79BAA5
analogous
#BA79AF #BA798E #BA8479
triadic
#BA798E #8EBA79 #798EBA
tetradic
#BA798E #AFBA79 #79BAA5 #8479BA
square
#BA798E #AFBA79 #79BAA5 #8479BA
split-complementary
#BA798E #79BA84 #79AFBA
monochromatic
#7A3F52 #A2546D #BA798E #CFA1B0 #E4CAD2

Accessibility & contrast

On white

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

On black

6.21
#BA798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA798E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA798E#FFFFFF#000000##000000
##BA798E1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81858F
Deuteranopia (green-blind)
#91908D
Tritanopia (blue-blind)
#C47580
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba798e;
/* rgb */ color: rgb(186, 121, 142);
/* oklch */ color: oklch(65.0% 0.085 358.8);
Tailwind
colors: {
  custom: {
    50: '#d0a0af',
    500: '#ba798e',
    950: '#000000',
  },
}
SCSS
$custom: #ba798e;
$custom-light: #d0a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba798e",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 340.615,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64978,
    "c": 0.08526,
    "h": 358.8
  },
  "luminance": 0.26067
}

Semantic roles & 50–950 ramp

primary
#BA798E
secondary
#BBD4CC
accent
#AB873B
background
#FCF9FA
surface
#F9F2F4
border
#D2CCCE
text
#140F10
muted
#827E7F

Preview Lab

Preview with #BA798E

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

Preview Lab → · Contrast checker → · Palette generator →

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