#BA797F#BA797F

#BA797F is a light, moderate red. Relative luminance 0.256; OKLCH L 64.5% C 0.082 H 13.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#BA797F
RGBrgb(186, 121, 127)
HSLhsl(354, 32%, 60%)
HSVhsv(354, 35%, 73%)
CMYKcmyk(0%, 34.9%, 31.7%, 27.1%)
CIE-LABlab(57.70, 26.19, 7.28)
CIE-LCHlch(57.70, 27.19, 15.53°)
OKLaboklab(64.54% 0.0795 0.0192)
OKLCHoklch(64.54% 0.082 13.6)
XYZxyz(30.9188, 25.6483, 23.3967)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA797F #79BAB4
analogous
#BA799F #BA797F #BA9479
triadic
#BA797F #7FBA79 #797FBA
tetradic
#BA797F #9FBA79 #79BAB4 #9479BA
square
#BA797F #9FBA79 #79BAB4 #9479BA
split-complementary
#BA797F #79BA94 #799FBA
monochromatic
#7A3F44 #A2545B #BA797F #CFA1A6 #E4CACC

Accessibility & contrast

On white

3.43
#BA797F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#BA797F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA797F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA797F#FFFFFF#000000##000000
##BA797F1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84837F
Deuteranopia (green-blind)
#948F7E
Tritanopia (blue-blind)
#C6737B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba797f;
/* rgb */ color: rgb(186, 121, 127);
/* oklch */ color: oklch(64.5% 0.082 13.6);
Tailwind
colors: {
  custom: {
    50: '#d0a0a4',
    500: '#ba797f',
    950: '#000000',
  },
}
SCSS
$custom: #ba797f;
$custom-light: #d0a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba797f",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 354.462,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.08177,
    "h": 13.6
  },
  "luminance": 0.25646
}

Semantic roles & 50–950 ramp

primary
#BA797F
secondary
#BBD4D2
accent
#ABA03B
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140F0F
muted
#837E7F

Preview Lab

Preview with #BA797F

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

Preview Lab → · Contrast checker → · Palette generator →

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