#791F58#791F58

#791F58 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.138 H 346.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#791F58
RGBrgb(121, 31, 88)
HSLhsl(322, 59%, 30%)
HSVhsv(322, 74%, 47%)
CMYKcmyk(0%, 74.4%, 27.3%, 52.5%)
CIE-LABlab(28.77, 44.12, -12.45)
CIE-LCHlch(28.77, 45.85, 344.24°)
OKLaboklab(40.42% 0.1338 -0.033)
OKLCHoklch(40.42% 0.138 346.1)
XYZxyz(10.1370, 5.7506, 9.8068)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F58 #1F7940
analogous
#6D1F79 #791F58 #791F2B
triadic
#791F58 #58791F #1F5879
tetradic
#791F58 #796D1F #1F7940 #1F2B79
square
#791F58 #796D1F #1F7940 #1F2B79
split-complementary
#791F58 #2B791F #1F796D
monochromatic
#180612 #481335 #791F58 #AA2B7B #CF439C

Accessibility & contrast

On white

9.77
#791F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#791F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F58
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F58#FFFFFF#000000##FFFFFF
##791F581.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#821D38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791f58;
/* rgb */ color: rgb(121, 31, 88);
/* oklch */ color: oklch(40.4% 0.138 346.1);
Tailwind
colors: {
  custom: {
    50: '#a36387',
    500: '#791f58',
    950: '#000000',
  },
}
SCSS
$custom: #791f58;
$custom-light: #a36387;
$custom-dark: #000000;
JSON
{
  "hex": "#791f58",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 322,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.13778,
    "h": 346.1
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#791F58
secondary
#47AC6C
accent
#E27F45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #791F58

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

Preview Lab → · Contrast checker → · Palette generator →

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