#791F4D#791F4D

#791F4D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.132 H 353.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#791F4D
RGBrgb(121, 31, 77)
HSLhsl(329, 59%, 30%)
HSVhsv(329, 74%, 47%)
CMYKcmyk(0%, 74.4%, 36.4%, 52.5%)
CIE-LABlab(28.33, 42.69, -5.86)
CIE-LCHlch(28.33, 43.09, 352.18°)
OKLaboklab(39.95% 0.1308 -0.015)
OKLCHoklch(39.95% 0.132 353.5)
XYZxyz(9.7153, 5.5819, 7.5855)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F4D #1F794B
analogous
#781F79 #791F4D #791F20
triadic
#791F4D #4D791F #1F4D79
tetradic
#791F4D #79781F #1F794B #1F2079
square
#791F4D #79781F #1F794B #1F2079
split-complementary
#791F4D #20791F #1F7978
monochromatic
#180610 #48132E #791F4D #AA2B6C #CF438B

Accessibility & contrast

On white

9.92
#791F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#791F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F4D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F4D#FFFFFF#000000##FFFFFF
##791F4D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384E
Deuteranopia (green-blind)
#48494B
Tritanopia (blue-blind)
#831733
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791f4d;
/* rgb */ color: rgb(121, 31, 77);
/* oklch */ color: oklch(40.0% 0.132 353.5);
Tailwind
colors: {
  custom: {
    50: '#a4637e',
    500: '#791f4d',
    950: '#000000',
  },
}
SCSS
$custom: #791f4d;
$custom-light: #a4637e;
$custom-dark: #000000;
JSON
{
  "hex": "#791f4d",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 329.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.13161,
    "h": 353.5
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#791F4D
secondary
#47AC79
accent
#E29245
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #791F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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