#791F5D#791F5D

#791F5D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.141 H 343.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#791F5D
RGBrgb(121, 31, 93)
HSLhsl(319, 59%, 30%)
HSVhsv(319, 74%, 47%)
CMYKcmyk(0%, 74.4%, 23.1%, 52.5%)
CIE-LABlab(29.00, 44.83, -15.39)
CIE-LCHlch(29.00, 47.40, 341.06°)
OKLaboklab(40.65% 0.1349 -0.0412)
OKLCHoklch(40.65% 0.141 343)
XYZxyz(10.3513, 5.8363, 10.9352)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F5D #1F793B
analogous
#681F79 #791F5D #791F30
triadic
#791F5D #5D791F #1F5D79
tetradic
#791F5D #79681F #1F793B #1F3079
square
#791F5D #79681F #1F793B #1F3079
split-complementary
#791F5D #30791F #1F7968
monochromatic
#180613 #481338 #791F5D #AA2B82 #CF43A4

Accessibility & contrast

On white

9.69
#791F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#791F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F5D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F5D#FFFFFF#000000##FFFFFF
##791F5D1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B5F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#811F3B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791f5d;
/* rgb */ color: rgb(121, 31, 93);
/* oklch */ color: oklch(40.7% 0.141 343.0);
Tailwind
colors: {
  custom: {
    50: '#a3648b',
    500: '#791f5d',
    950: '#000000',
  },
}
SCSS
$custom: #791f5d;
$custom-light: #a3648b;
$custom-dark: #000000;
JSON
{
  "hex": "#791f5d",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 318.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.141,
    "h": 343
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#791F5D
secondary
#47AC67
accent
#E27645
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #791F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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