#795271#795271

#795271 is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.2% C 0.069 H 334.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#795271
RGBrgb(121, 82, 113)
HSLhsl(312, 19%, 40%)
HSVhsv(312, 32%, 47%)
CMYKcmyk(0%, 32.2%, 6.6%, 52.5%)
CIE-LABlab(40.07, 21.64, -11.17)
CIE-LCHlch(40.07, 24.36, 332.71°)
OKLaboklab(49.19% 0.0618 -0.0299)
OKLCHoklch(49.19% 0.069 334.2)
XYZxyz(13.8829, 11.2924, 17.0679)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795271 #52795A
analogous
#6E5279 #795271 #79525D
triadic
#795271 #717952 #527179
tetradic
#795271 #796E52 #52795A #525D79
square
#795271 #796E52 #52795A #525D79
split-complementary
#795271 #5D7952 #52796E
monochromatic
#30212D #55394F #795271 #9C6C92 #B491AD

Accessibility & contrast

On white

6.44
#795271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#795271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795271
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795271#FFFFFF#000000##FFFFFF
##7952711.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#5B6070
Tritanopia (blue-blind)
#7D545D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #795271;
/* rgb */ color: rgb(121, 82, 113);
/* oklch */ color: oklch(49.2% 0.069 334.2);
Tailwind
colors: {
  custom: {
    50: '#a08399',
    500: '#795271',
    950: '#000000',
  },
}
SCSS
$custom: #795271;
$custom-light: #a08399;
$custom-dark: #000000;
JSON
{
  "hex": "#795271",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 312.308,
    "s": 19.212,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49187,
    "c": 0.06862,
    "h": 334.2
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#795271
secondary
#85A28B
accent
#BC7C6C
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #795271

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

Preview Lab → · Contrast checker → · Palette generator →

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