#796271#796271

#796271 is a mid, muted pink. Relative luminance 0.140; OKLCH L 52.4% C 0.037 H 339.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#796271
RGBrgb(121, 98, 113)
HSLhsl(321, 11%, 43%)
HSVhsv(321, 19%, 47%)
CMYKcmyk(0%, 19%, 6.6%, 52.5%)
CIE-LABlab(44.22, 12.01, -4.94)
CIE-LCHlch(44.22, 12.99, 337.63°)
OKLaboklab(52.38% 0.0345 -0.013)
OKLCHoklch(52.38% 0.037 339.3)
XYZxyz(15.2332, 13.9930, 17.5180)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796271 #62796A
analogous
#756279 #796271 #796265
triadic
#796271 #717962 #627179
tetradic
#796271 #797562 #62796A #626579
square
#796271 #797562 #62796A #626579
split-complementary
#796271 #657962 #627975
monochromatic
#352B32 #574751 #796271 #988090 #B4A2AD

Accessibility & contrast

On white

5.53
#796271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#796271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796271
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796271#FFFFFF#000000##FFFFFF
##7962711.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#7C6267
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796271;
/* rgb */ color: rgb(121, 98, 113);
/* oklch */ color: oklch(52.4% 0.037 339.3);
Tailwind
colors: {
  custom: {
    50: '#a08e99',
    500: '#796271',
    950: '#000000',
  },
}
SCSS
$custom: #796271;
$custom-light: #a08e99;
$custom-dark: #000000;
JSON
{
  "hex": "#796271",
  "rgb": {
    "r": 121,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 320.87,
    "s": 10.502,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.0369,
    "h": 339.3
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#796271
secondary
#94A399
accent
#B38A74
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #796271

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

Preview Lab → · Contrast checker → · Palette generator →

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