#791668#791668

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

Color values

HEX#791668
RGBrgb(121, 22, 104)
HSLhsl(310, 69%, 28%)
HSVhsv(310, 82%, 47%)
CMYKcmyk(0%, 81.8%, 14%, 52.5%)
CIE-LABlab(28.48, 49.47, -23.33)
CIE-LCHlch(28.48, 54.69, 334.75°)
OKLaboklab(40.46% 0.1455 -0.0636)
OKLCHoklch(40.46% 0.159 336.4)
XYZxyz(10.6710, 5.6393, 13.6205)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791668 #167927
analogous
#581679 #791668 #791636
triadic
#791668 #687916 #166879
tetradic
#791668 #795816 #167927 #163679
square
#791668 #795816 #167927 #163679
split-complementary
#791668 #367916 #167958
monochromatic
#1A0516 #450D3B #791668 #AD1F95 #D930BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791668#FFFFFF#000000##FFFFFF
##7916681.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)
#183A6A
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#801E3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791668;
/* rgb */ color: rgb(121, 22, 104);
/* oklch */ color: oklch(40.5% 0.159 336.4);
Tailwind
colors: {
  custom: {
    50: '#a36093',
    500: '#791668',
    950: '#000000',
  },
}
SCSS
$custom: #791668;
$custom-light: #a36093;
$custom-dark: #000000;
JSON
{
  "hex": "#791668",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 310.303,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40461,
    "c": 0.15881,
    "h": 336.4
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#791668
secondary
#3DAE50
accent
#EC5A3C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #791668

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

Preview Lab → · Contrast checker → · Palette generator →

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