#791C56#791C56

#791C56 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.140 H 347.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#791C56
RGBrgb(121, 28, 86)
HSLhsl(323, 62%, 29%)
HSVhsv(323, 77%, 47%)
CMYKcmyk(0%, 76.9%, 28.9%, 52.5%)
CIE-LABlab(28.30, 44.96, -11.87)
CIE-LCHlch(28.30, 46.50, 345.21°)
OKLaboklab(40.04% 0.1367 -0.0313)
OKLCHoklch(40.04% 0.14 347.1)
XYZxyz(9.9806, 5.5684, 9.3515)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C56 #1C793F
analogous
#6E1C79 #791C56 #791C27
triadic
#791C56 #56791C #1C5679
tetradic
#791C56 #796E1C #1C793F #1C2779
square
#791C56 #796E1C #1C793F #1C2779
split-complementary
#791C56 #27791C #1C796E
monochromatic
#190612 #471033 #791C56 #AB2879 #D23D9A

Accessibility & contrast

On white

9.94
#791C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#791C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C56
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C56#FFFFFF#000000##FFFFFF
##791C561.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293958
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#821936
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791c56;
/* rgb */ color: rgb(121, 28, 86);
/* oklch */ color: oklch(40.0% 0.140 347.1);
Tailwind
colors: {
  custom: {
    50: '#a36285',
    500: '#791c56',
    950: '#000000',
  },
}
SCSS
$custom: #791c56;
$custom-light: #a36285;
$custom-dark: #000000;
JSON
{
  "hex": "#791c56",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 322.581,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40044,
    "c": 0.14027,
    "h": 347.1
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#791C56
secondary
#44AD6B
accent
#E58042
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #791C56

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

Preview Lab → · Contrast checker → · Palette generator →

#791C56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva