#791F56#791F56

#791F56 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.137 H 347.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#791F56
RGBrgb(121, 31, 86)
HSLhsl(323, 59%, 30%)
HSVhsv(323, 74%, 47%)
CMYKcmyk(0%, 74.4%, 28.9%, 52.5%)
CIE-LABlab(28.69, 43.85, -11.27)
CIE-LCHlch(28.69, 45.28, 345.59°)
OKLaboklab(40.33% 0.1333 -0.0297)
OKLCHoklch(40.33% 0.137 347.4)
XYZxyz(10.0553, 5.7179, 9.3764)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F56 #1F7942
analogous
#6F1F79 #791F56 #791F29
triadic
#791F56 #56791F #1F5679
tetradic
#791F56 #796F1F #1F7942 #1F2979
square
#791F56 #796F1F #1F7942 #1F2979
split-complementary
#791F56 #29791F #1F796F
monochromatic
#180611 #481333 #791F56 #AA2B79 #CF4399

Accessibility & contrast

On white

9.80
#791F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#791F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F56
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F56#FFFFFF#000000##FFFFFF
##791F561.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A58
Deuteranopia (green-blind)
#464954
Tritanopia (blue-blind)
#821C37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791f56;
/* rgb */ color: rgb(121, 31, 86);
/* oklch */ color: oklch(40.3% 0.137 347.4);
Tailwind
colors: {
  custom: {
    50: '#a36385',
    500: '#791f56',
    950: '#000000',
  },
}
SCSS
$custom: #791f56;
$custom-light: #a36385;
$custom-dark: #000000;
JSON
{
  "hex": "#791f56",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 323.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40331,
    "c": 0.13655,
    "h": 347.4
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#791F56
secondary
#47AC6F
accent
#E28245
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #791F56

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

Preview Lab → · Contrast checker → · Palette generator →

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