#791868#791868

#791868 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.157 H 336.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#791868
RGBrgb(121, 24, 104)
HSLhsl(311, 67%, 28%)
HSVhsv(311, 80%, 47%)
CMYKcmyk(0%, 80.2%, 14%, 52.5%)
CIE-LABlab(28.69, 48.87, -23.00)
CIE-LCHlch(28.69, 54.01, 334.79°)
OKLaboklab(40.61% 0.1437 -0.0627)
OKLCHoklch(40.61% 0.157 336.4)
XYZxyz(10.7107, 5.7187, 13.6338)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791868 #187929
analogous
#591879 #791868 #791837
triadic
#791868 #687918 #186879
tetradic
#791868 #795918 #187929 #183779
square
#791868 #795918 #187929 #183779
split-complementary
#791868 #377918 #187959
monochromatic
#1A0516 #460E3C #791868 #AC2294 #D735BA

Accessibility & contrast

On white

9.80
#791868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#791868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791868
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791868#FFFFFF#000000##FFFFFF
##7918681.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A6A
Deuteranopia (green-blind)
#3D4966
Tritanopia (blue-blind)
#801F3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791868;
/* rgb */ color: rgb(121, 24, 104);
/* oklch */ color: oklch(40.6% 0.157 336.4);
Tailwind
colors: {
  custom: {
    50: '#a36193',
    500: '#791868',
    950: '#000000',
  },
}
SCSS
$custom: #791868;
$custom-light: #a36193;
$custom-dark: #000000;
JSON
{
  "hex": "#791868",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 310.515,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4061,
    "c": 0.1568,
    "h": 336.4
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#791868
secondary
#3FAE52
accent
#EA5C3E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #791868

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

Preview Lab → · Contrast checker → · Palette generator →

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