#791762#791762

#791762 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.154 H 339.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#791762
RGBrgb(121, 23, 98)
HSLhsl(314, 68%, 28%)
HSVhsv(314, 81%, 47%)
CMYKcmyk(0%, 81%, 19%, 52.5%)
CIE-LABlab(28.28, 48.28, -19.76)
CIE-LCHlch(28.28, 52.17, 337.74°)
OKLaboklab(40.21% 0.144 -0.0535)
OKLCHoklch(40.21% 0.154 339.6)
XYZxyz(10.3965, 5.5606, 12.0787)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791762 #17792E
analogous
#5F1779 #791762 #791731
triadic
#791762 #627917 #176279
tetradic
#791762 #795F17 #17792E #173179
square
#791762 #795F17 #17792E #173179
split-complementary
#791762 #317917 #17795F
monochromatic
#1A0515 #460D38 #791762 #AC218C #D832B1

Accessibility & contrast

On white

9.94
#791762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#791762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791762
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791762#FFFFFF#000000##FFFFFF
##7917621.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3964
Deuteranopia (green-blind)
#3F4860
Tritanopia (blue-blind)
#801B3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791762;
/* rgb */ color: rgb(121, 23, 98);
/* oklch */ color: oklch(40.2% 0.154 339.6);
Tailwind
colors: {
  custom: {
    50: '#a3618f',
    500: '#791762',
    950: '#000000',
  },
}
SCSS
$custom: #791762;
$custom-light: #a3618f;
$custom-dark: #000000;
JSON
{
  "hex": "#791762",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 98
  },
  "hsl": {
    "h": 314.082,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40211,
    "c": 0.15358,
    "h": 339.6
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#791762
secondary
#3EAE58
accent
#EB663D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #791762

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

Preview Lab → · Contrast checker → · Palette generator →

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