#791B58#791B58

#791B58 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.143 H 345.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#791B58
RGBrgb(121, 27, 88)
HSLhsl(321, 64%, 29%)
HSVhsv(321, 78%, 47%)
CMYKcmyk(0%, 77.7%, 27.3%, 52.5%)
CIE-LABlab(28.26, 45.58, -13.24)
CIE-LCHlch(28.26, 47.46, 343.80°)
OKLaboklab(40.04% 0.1383 -0.0351)
OKLCHoklch(40.04% 0.143 345.7)
XYZxyz(10.0390, 5.5545, 9.7741)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B58 #1B793C
analogous
#6B1B79 #791B58 #791B29
triadic
#791B58 #58791B #1B5879
tetradic
#791B58 #796B1B #1B793C #1B2979
square
#791B58 #796B1B #1B793C #1B2979
split-complementary
#791B58 #29791B #1B796B
monochromatic
#190612 #471034 #791B58 #AB267C #D33B9E

Accessibility & contrast

On white

9.95
#791B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#791B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B58
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B58#FFFFFF#000000##FFFFFF
##791B581.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#444856
Tritanopia (blue-blind)
#821937
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791b58;
/* rgb */ color: rgb(121, 27, 88);
/* oklch */ color: oklch(40.0% 0.143 345.7);
Tailwind
colors: {
  custom: {
    50: '#a36287',
    500: '#791b58',
    950: '#000000',
  },
}
SCSS
$custom: #791b58;
$custom-light: #a36287;
$custom-dark: #000000;
JSON
{
  "hex": "#791b58",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 321.064,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.14267,
    "h": 345.7
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#791B58
secondary
#43AD68
accent
#E77B41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #791B58

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

Preview Lab → · Contrast checker → · Palette generator →

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