#791B56#791B56

#791B56 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.141 H 347.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#791B56
RGBrgb(121, 27, 86)
HSLhsl(322, 64%, 29%)
HSVhsv(322, 78%, 47%)
CMYKcmyk(0%, 77.7%, 28.9%, 52.5%)
CIE-LABlab(28.17, 45.31, -12.06)
CIE-LCHlch(28.17, 46.88, 345.10°)
OKLaboklab(39.95% 0.1378 -0.0319)
OKLCHoklch(39.95% 0.141 347)
XYZxyz(9.9573, 5.5218, 9.3437)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B56 #1B793E
analogous
#6D1B79 #791B56 #791B27
triadic
#791B56 #56791B #1B5679
tetradic
#791B56 #796D1B #1B793E #1B2779
square
#791B56 #796D1B #1B793E #1B2779
split-complementary
#791B56 #27791B #1B796D
monochromatic
#190612 #471032 #791B56 #AB267A #D33B9B

Accessibility & contrast

On white

9.98
#791B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791B56
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B56#FFFFFF#000000##FFFFFF
##791B561.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283858
Deuteranopia (green-blind)
#444854
Tritanopia (blue-blind)
#821836
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #791b56;
/* rgb */ color: rgb(121, 27, 86);
/* oklch */ color: oklch(40.0% 0.141 347.0);
Tailwind
colors: {
  custom: {
    50: '#a36285',
    500: '#791b56',
    950: '#000000',
  },
}
SCSS
$custom: #791b56;
$custom-light: #a36285;
$custom-dark: #000000;
JSON
{
  "hex": "#791b56",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 322.34,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.14144,
    "h": 347
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

primary
#791B56
secondary
#43AD6A
accent
#E77F41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #791B56

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

Preview Lab → · Contrast checker → · Palette generator →

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