#791A4D#791A4D

#791A4D is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.138 H 352.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#791A4D
RGBrgb(121, 26, 77)
HSLhsl(328, 65%, 29%)
HSVhsv(328, 79%, 47%)
CMYKcmyk(0%, 78.5%, 36.4%, 52.5%)
CIE-LABlab(27.68, 44.52, -6.83)
CIE-LCHlch(27.68, 45.04, 351.28°)
OKLaboklab(39.48% 0.1365 -0.0176)
OKLCHoklch(39.48% 0.138 352.7)
XYZxyz(9.5947, 5.3407, 7.5453)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A4D #1A7946
analogous
#761A79 #791A4D #791A1E
triadic
#791A4D #4D791A #1A4D79
tetradic
#791A4D #79761A #1A7946 #1A1E79
square
#791A4D #79761A #1A7946 #1A1E79
split-complementary
#791A4D #1E791A #1A7976
monochromatic
#190510 #470F2D #791A4D #AB256D #D4398C

Accessibility & contrast

On white

10.15
#791A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#791A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A4D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A4D#FFFFFF#000000##FFFFFF
##791A4D1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364E
Deuteranopia (green-blind)
#47484B
Tritanopia (blue-blind)
#831131
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #791a4d;
/* rgb */ color: rgb(121, 26, 77);
/* oklch */ color: oklch(39.5% 0.138 352.7);
Tailwind
colors: {
  custom: {
    50: '#a4617e',
    500: '#791a4d',
    950: '#000000',
  },
}
SCSS
$custom: #791a4d;
$custom-light: #a4617e;
$custom-dark: #000000;
JSON
{
  "hex": "#791a4d",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 327.789,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39478,
    "c": 0.13763,
    "h": 352.7
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#791A4D
secondary
#41AD73
accent
#E88E40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #791A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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