#791960#791960

#791960 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.150 H 340.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#791960
RGBrgb(121, 25, 96)
HSLhsl(316, 66%, 29%)
HSVhsv(316, 79%, 47%)
CMYKcmyk(0%, 79.3%, 20.7%, 52.5%)
CIE-LABlab(28.40, 47.36, -18.27)
CIE-LCHlch(28.40, 50.77, 338.90°)
OKLaboklab(40.27% 0.1418 -0.0492)
OKLCHoklch(40.27% 0.15 340.8)
XYZxyz(10.3444, 5.6058, 11.6013)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791960 #197932
analogous
#621979 #791960 #791930
triadic
#791960 #607919 #196079
tetradic
#791960 #796219 #197932 #193079
square
#791960 #796219 #197932 #193079
split-complementary
#791960 #307919 #197962
monochromatic
#190514 #460F38 #791960 #AC2388 #D637AC

Accessibility & contrast

On white

9.90
#791960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#791960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791960
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791960#FFFFFF#000000##FFFFFF
##7919601.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213962
Deuteranopia (green-blind)
#40485E
Tritanopia (blue-blind)
#811C3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791960;
/* rgb */ color: rgb(121, 25, 96);
/* oklch */ color: oklch(40.3% 0.150 340.8);
Tailwind
colors: {
  custom: {
    50: '#a3618d',
    500: '#791960',
    950: '#000000',
  },
}
SCSS
$custom: #791960;
$custom-light: #a3618d;
$custom-dark: #000000;
JSON
{
  "hex": "#791960",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 315.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.15012,
    "h": 340.8
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#791960
secondary
#40AE5D
accent
#E96B3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #791960

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

Preview Lab → · Contrast checker → · Palette generator →

#791960 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva