#791D5B#791D5B

#791D5B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.142 H 344.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#791D5B
RGBrgb(121, 29, 91)
HSLhsl(320, 61%, 29%)
HSVhsv(320, 76%, 47%)
CMYKcmyk(0%, 76%, 24.8%, 52.5%)
CIE-LABlab(28.64, 45.28, -14.62)
CIE-LCHlch(28.64, 47.58, 342.10°)
OKLaboklab(40.37% 0.1367 -0.039)
OKLCHoklch(40.37% 0.142 344.1)
XYZxyz(10.2132, 5.7001, 10.4579)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D5B #1D793B
analogous
#691D79 #791D5B #791D2D
triadic
#791D5B #5B791D #1D5B79
tetradic
#791D5B #79691D #1D793B #1D2D79
square
#791D5B #79691D #1D793B #1D2D79
split-complementary
#791D5B #2D791D #1D7969
monochromatic
#190613 #481136 #791D5B #AA2980 #D13FA2

Accessibility & contrast

On white

9.81
#791D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#791D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D5B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D5B#FFFFFF#000000##FFFFFF
##791D5B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5D
Deuteranopia (green-blind)
#434959
Tritanopia (blue-blind)
#811C39
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791d5b;
/* rgb */ color: rgb(121, 29, 91);
/* oklch */ color: oklch(40.4% 0.142 344.1);
Tailwind
colors: {
  custom: {
    50: '#a36389',
    500: '#791d5b',
    950: '#000000',
  },
}
SCSS
$custom: #791d5b;
$custom-light: #a36389;
$custom-dark: #000000;
JSON
{
  "hex": "#791d5b",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 319.565,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.14218,
    "h": 344.1
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#791D5B
secondary
#45AD67
accent
#E47843
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #791D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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