#791F57#791F57

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

Color values

HEX#791F57
RGBrgb(121, 31, 87)
HSLhsl(323, 59%, 30%)
HSVhsv(323, 74%, 47%)
CMYKcmyk(0%, 74.4%, 28.1%, 52.5%)
CIE-LABlab(28.73, 43.99, -11.86)
CIE-LCHlch(28.73, 45.56, 344.91°)
OKLaboklab(40.38% 0.1335 -0.0314)
OKLCHoklch(40.38% 0.137 346.8)
XYZxyz(10.0959, 5.7341, 9.5901)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F57 #1F7941
analogous
#6E1F79 #791F57 #791F2A
triadic
#791F57 #57791F #1F5779
tetradic
#791F57 #796E1F #1F7941 #1F2A79
square
#791F57 #796E1F #1F7941 #1F2A79
split-complementary
#791F57 #2A791F #1F796E
monochromatic
#180612 #481334 #791F57 #AA2B7A #CF439A

Accessibility & contrast

On white

9.78
#791F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#791F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F57
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F57#FFFFFF#000000##FFFFFF
##791F571.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#821C38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791f57;
/* rgb */ color: rgb(121, 31, 87);
/* oklch */ color: oklch(40.4% 0.137 346.8);
Tailwind
colors: {
  custom: {
    50: '#a36386',
    500: '#791f57',
    950: '#000000',
  },
}
SCSS
$custom: #791f57;
$custom-light: #a36386;
$custom-dark: #000000;
JSON
{
  "hex": "#791f57",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 322.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40375,
    "c": 0.13716,
    "h": 346.8
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#791F57
secondary
#47AC6E
accent
#E28145
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #791F57

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

Preview Lab → · Contrast checker → · Palette generator →

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