#791E5F#791E5F

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

Color values

HEX#791E5F
RGBrgb(121, 30, 95)
HSLhsl(317, 60%, 30%)
HSVhsv(317, 75%, 47%)
CMYKcmyk(0%, 75.2%, 21.5%, 52.5%)
CIE-LABlab(28.96, 45.49, -16.75)
CIE-LCHlch(28.96, 48.48, 339.78°)
OKLaboklab(40.66% 0.1364 -0.045)
OKLCHoklch(40.66% 0.144 341.7)
XYZxyz(10.4153, 5.8208, 11.3993)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E5F #1E7938
analogous
#661E79 #791E5F #791E32
triadic
#791E5F #5F791E #1E5F79
tetradic
#791E5F #79661E #1E7938 #1E3279
square
#791E5F #79661E #1E7938 #1E3279
split-complementary
#791E5F #32791E #1E7966
monochromatic
#190613 #481238 #791E5F #AA2A86 #D041A7

Accessibility & contrast

On white

9.70
#791E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#791E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E5F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E5F#FFFFFF#000000##FFFFFF
##791E5F1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#811F3C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791e5f;
/* rgb */ color: rgb(121, 30, 95);
/* oklch */ color: oklch(40.7% 0.144 341.7);
Tailwind
colors: {
  custom: {
    50: '#a3638c',
    500: '#791e5f',
    950: '#000000',
  },
}
SCSS
$custom: #791e5f;
$custom-light: #a3638c;
$custom-dark: #000000;
JSON
{
  "hex": "#791e5f",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 317.143,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40655,
    "c": 0.14361,
    "h": 341.7
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#791E5F
secondary
#46AD63
accent
#E37244
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #791E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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