#791B54#791B54

#791B54 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.140 H 348.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#791B54
RGBrgb(121, 27, 84)
HSLhsl(324, 64%, 29%)
HSVhsv(324, 78%, 47%)
CMYKcmyk(0%, 77.7%, 30.6%, 52.5%)
CIE-LABlab(28.09, 45.04, -10.87)
CIE-LCHlch(28.09, 46.34, 346.44°)
OKLaboklab(39.86% 0.1373 -0.0286)
OKLCHoklch(39.86% 0.14 348.2)
XYZxyz(9.8778, 5.4900, 8.9253)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B54 #1B7940
analogous
#6F1B79 #791B54 #791B25
triadic
#791B54 #54791B #1B5479
tetradic
#791B54 #796F1B #1B7940 #1B2579
square
#791B54 #796F1B #1B7940 #1B2579
split-complementary
#791B54 #25791B #1B796F
monochromatic
#190611 #471031 #791B54 #AB2677 #D33B97

Accessibility & contrast

On white

10.01
#791B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#791B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B54
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B54#FFFFFF#000000##FFFFFF
##791B541.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293856
Deuteranopia (green-blind)
#454852
Tritanopia (blue-blind)
#821735
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791b54;
/* rgb */ color: rgb(121, 27, 84);
/* oklch */ color: oklch(39.9% 0.140 348.2);
Tailwind
colors: {
  custom: {
    50: '#a36284',
    500: '#791b54',
    950: '#000000',
  },
}
SCSS
$custom: #791b54;
$custom-light: #a36284;
$custom-dark: #000000;
JSON
{
  "hex": "#791b54",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 323.617,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39864,
    "c": 0.14027,
    "h": 348.2
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#791B54
secondary
#43AD6D
accent
#E78241
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #791B54

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

Preview Lab → · Contrast checker → · Palette generator →

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