#791864#791864

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

Color values

HEX#791864
RGBrgb(121, 24, 100)
HSLhsl(313, 67%, 28%)
HSVhsv(313, 80%, 47%)
CMYKcmyk(0%, 80.2%, 17.4%, 52.5%)
CIE-LABlab(28.48, 48.27, -20.74)
CIE-LCHlch(28.48, 52.53, 336.75°)
OKLaboklab(40.39% 0.1433 -0.0562)
OKLCHoklch(40.39% 0.154 338.6)
XYZxyz(10.5123, 5.6393, 12.5890)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791864 #18792D
analogous
#5D1879 #791864 #791833
triadic
#791864 #647918 #186479
tetradic
#791864 #795D18 #18792D #183379
square
#791864 #795D18 #18792D #183379
split-complementary
#791864 #337918 #18795D
monochromatic
#1A0515 #460E3A #791864 #AC228E #D735B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791864#FFFFFF#000000##FFFFFF
##7918641.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)
#1D3A66
Deuteranopia (green-blind)
#3F4962
Tritanopia (blue-blind)
#801D3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791864;
/* rgb */ color: rgb(121, 24, 100);
/* oklch */ color: oklch(40.4% 0.154 338.6);
Tailwind
colors: {
  custom: {
    50: '#a36190',
    500: '#791864',
    950: '#000000',
  },
}
SCSS
$custom: #791864;
$custom-light: #a36190;
$custom-dark: #000000;
JSON
{
  "hex": "#791864",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 312.99,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.15394,
    "h": 338.6
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#791864
secondary
#3FAE57
accent
#EA633E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #791864

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

Preview Lab → · Contrast checker → · Palette generator →

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