#791862#791862

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

Color values

HEX#791862
RGBrgb(121, 24, 98)
HSLhsl(314, 67%, 28%)
HSVhsv(314, 80%, 47%)
CMYKcmyk(0%, 80.2%, 19%, 52.5%)
CIE-LABlab(28.38, 47.97, -19.59)
CIE-LCHlch(28.38, 51.82, 337.78°)
OKLaboklab(40.29% 0.1431 -0.053)
OKLCHoklch(40.29% 0.153 339.7)
XYZxyz(10.4167, 5.6011, 12.0854)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791862 #18792F
analogous
#5F1879 #791862 #791831
triadic
#791862 #627918 #186279
tetradic
#791862 #795F18 #18792F #183179
square
#791862 #795F18 #18792F #183179
split-complementary
#791862 #317918 #18795F
monochromatic
#1A0515 #460E39 #791862 #AC228B #D735B0

Accessibility & contrast

On white

9.91
#791862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791862
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791862#FFFFFF#000000##FFFFFF
##7918621.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791862;
/* rgb */ color: rgb(121, 24, 98);
/* oklch */ color: oklch(40.3% 0.153 339.7);
Tailwind
colors: {
  custom: {
    50: '#a3618f',
    500: '#791862',
    950: '#000000',
  },
}
SCSS
$custom: #791862;
$custom-light: #a3618f;
$custom-dark: #000000;
JSON
{
  "hex": "#791862",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 314.227,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40288,
    "c": 0.15255,
    "h": 339.7
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#791862
secondary
#3FAE59
accent
#EA673E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #791862

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

Preview Lab → · Contrast checker → · Palette generator →

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