#791962#791962

#791962 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.151 H 339.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#791962
RGBrgb(121, 25, 98)
HSLhsl(314, 66%, 29%)
HSVhsv(314, 79%, 47%)
CMYKcmyk(0%, 79.3%, 19%, 52.5%)
CIE-LABlab(28.49, 47.65, -19.42)
CIE-LCHlch(28.49, 51.46, 337.83°)
OKLaboklab(40.37% 0.1421 -0.0525)
OKLCHoklch(40.37% 0.151 339.7)
XYZxyz(10.4377, 5.6431, 12.0924)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791962 #197930
analogous
#601979 #791962 #791932
triadic
#791962 #627919 #196279
tetradic
#791962 #796019 #197930 #193279
square
#791962 #796019 #197930 #193279
split-complementary
#791962 #327919 #197960
monochromatic
#190515 #460F39 #791962 #AC238B #D637B0

Accessibility & contrast

On white

9.87
#791962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#791962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791962
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791962#FFFFFF#000000##FFFFFF
##7919621.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A64
Deuteranopia (green-blind)
#404960
Tritanopia (blue-blind)
#801D3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791962;
/* rgb */ color: rgb(121, 25, 98);
/* oklch */ color: oklch(40.4% 0.151 339.7);
Tailwind
colors: {
  custom: {
    50: '#a3618f',
    500: '#791962',
    950: '#000000',
  },
}
SCSS
$custom: #791962;
$custom-light: #a3618f;
$custom-dark: #000000;
JSON
{
  "hex": "#791962",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 314.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.15149,
    "h": 339.7
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#791962
secondary
#40AE5A
accent
#E9683F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #791962

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

Preview Lab → · Contrast checker → · Palette generator →

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