#791A52#791A52

#791A52 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.140 H 349.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#791A52
RGBrgb(121, 26, 82)
HSLhsl(325, 65%, 29%)
HSVhsv(325, 79%, 47%)
CMYKcmyk(0%, 78.5%, 32.2%, 52.5%)
CIE-LABlab(27.88, 45.13, -9.85)
CIE-LCHlch(27.88, 46.19, 347.68°)
OKLaboklab(39.69% 0.1379 -0.0258)
OKLCHoklch(39.69% 0.14 349.4)
XYZxyz(9.7781, 5.4141, 8.5111)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A52 #1A7941
analogous
#711A79 #791A52 #791A22
triadic
#791A52 #52791A #1A5279
tetradic
#791A52 #79711A #1A7941 #1A2279
square
#791A52 #79711A #1A7941 #1A2279
split-complementary
#791A52 #22791A #1A7971
monochromatic
#190511 #470F30 #791A52 #AB2574 #D43995

Accessibility & contrast

On white

10.08
#791A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#791A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A52
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A52#FFFFFF#000000##FFFFFF
##791A521.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#454850
Tritanopia (blue-blind)
#821433
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791a52;
/* rgb */ color: rgb(121, 26, 82);
/* oklch */ color: oklch(39.7% 0.140 349.4);
Tailwind
colors: {
  custom: {
    50: '#a46182',
    500: '#791a52',
    950: '#000000',
  },
}
SCSS
$custom: #791a52;
$custom-light: #a46182;
$custom-dark: #000000;
JSON
{
  "hex": "#791a52",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 324.632,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.14029,
    "h": 349.4
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#791A52
secondary
#41AD6E
accent
#E88540
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #791A52

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

Preview Lab → · Contrast checker → · Palette generator →

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