#791C5D#791C5D

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

Color values

HEX#791C5D
RGBrgb(121, 28, 93)
HSLhsl(318, 62%, 29%)
HSVhsv(318, 77%, 47%)
CMYKcmyk(0%, 76.9%, 23.1%, 52.5%)
CIE-LABlab(28.61, 45.92, -15.98)
CIE-LCHlch(28.61, 48.62, 340.81°)
OKLaboklab(40.37% 0.1382 -0.0428)
OKLCHoklch(40.37% 0.145 342.8)
XYZxyz(10.2766, 5.6868, 10.9103)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C5D #1C7938
analogous
#671C79 #791C5D #791C2E
triadic
#791C5D #5D791C #1C5D79
tetradic
#791C5D #79671C #1C7938 #1C2E79
square
#791C5D #79671C #1C7938 #1C2E79
split-complementary
#791C5D #2E791C #1C7967
monochromatic
#190613 #471037 #791C5D #AB2883 #D23DA5

Accessibility & contrast

On white

9.83
#791C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791C5D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C5D#FFFFFF#000000##FFFFFF
##791C5D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A5F
Deuteranopia (green-blind)
#42495B
Tritanopia (blue-blind)
#811D3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791c5d;
/* rgb */ color: rgb(121, 28, 93);
/* oklch */ color: oklch(40.4% 0.145 342.8);
Tailwind
colors: {
  custom: {
    50: '#a3628b',
    500: '#791c5d',
    950: '#000000',
  },
}
SCSS
$custom: #791c5d;
$custom-light: #a3628b;
$custom-dark: #000000;
JSON
{
  "hex": "#791c5d",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 318.065,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40373,
    "c": 0.14469,
    "h": 342.8
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#791C5D
secondary
#44AD63
accent
#E57342
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #791C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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