#791F52#791F52

#791F52 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.134 H 350.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#791F52
RGBrgb(121, 31, 82)
HSLhsl(326, 59%, 30%)
HSVhsv(326, 74%, 47%)
CMYKcmyk(0%, 74.4%, 32.2%, 52.5%)
CIE-LABlab(28.53, 43.32, -8.88)
CIE-LCHlch(28.53, 44.22, 348.42°)
OKLaboklab(40.16% 0.1322 -0.0232)
OKLCHoklch(40.16% 0.134 350.1)
XYZxyz(9.8987, 5.6552, 8.5513)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F52 #1F7946
analogous
#731F79 #791F52 #791F25
triadic
#791F52 #52791F #1F5279
tetradic
#791F52 #79731F #1F7946 #1F2579
square
#791F52 #79731F #1F7946 #1F2579
split-complementary
#791F52 #25791F #1F7973
monochromatic
#180611 #481331 #791F52 #AA2B73 #CF4393

Accessibility & contrast

On white

9.86
#791F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#791F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F52
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F52#FFFFFF#000000##FFFFFF
##791F521.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#821A35
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791f52;
/* rgb */ color: rgb(121, 31, 82);
/* oklch */ color: oklch(40.2% 0.134 350.1);
Tailwind
colors: {
  custom: {
    50: '#a36382',
    500: '#791f52',
    950: '#000000',
  },
}
SCSS
$custom: #791f52;
$custom-light: #a36382;
$custom-dark: #000000;
JSON
{
  "hex": "#791f52",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 326,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.13424,
    "h": 350.1
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#791F52
secondary
#47AC73
accent
#E28945
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #791F52

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

Preview Lab → · Contrast checker → · Palette generator →

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