#791766#791766

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

Color values

HEX#791766
RGBrgb(121, 23, 102)
HSLhsl(312, 68%, 28%)
HSVhsv(312, 81%, 47%)
CMYKcmyk(0%, 81%, 15.7%, 52.5%)
CIE-LABlab(28.48, 48.87, -22.04)
CIE-LCHlch(28.48, 53.61, 335.73°)
OKLaboklab(40.42% 0.1444 -0.06)
OKLCHoklch(40.42% 0.156 337.5)
XYZxyz(10.5901, 5.6381, 13.0983)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791766 #17792A
analogous
#5B1779 #791766 #791735
triadic
#791766 #667917 #176679
tetradic
#791766 #795B17 #17792A #173579
square
#791766 #795B17 #17792A #173579
split-complementary
#791766 #357917 #17795B
monochromatic
#1A0516 #460D3B #791766 #AC2191 #D832B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791766#FFFFFF#000000##FFFFFF
##7917661.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)
#1B3A68
Deuteranopia (green-blind)
#3D4864
Tritanopia (blue-blind)
#801D3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791766;
/* rgb */ color: rgb(121, 23, 102);
/* oklch */ color: oklch(40.4% 0.156 337.5);
Tailwind
colors: {
  custom: {
    50: '#a36192',
    500: '#791766',
    950: '#000000',
  },
}
SCSS
$custom: #791766;
$custom-light: #a36192;
$custom-dark: #000000;
JSON
{
  "hex": "#791766",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 311.633,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40425,
    "c": 0.15639,
    "h": 337.5
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#791766
secondary
#3EAE54
accent
#EB5F3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #791766

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

Preview Lab → · Contrast checker → · Palette generator →

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