#791968#791968

#791968 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.156 H 336.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#791968
RGBrgb(121, 25, 104)
HSLhsl(311, 66%, 29%)
HSVhsv(311, 79%, 47%)
CMYKcmyk(0%, 79.3%, 14%, 52.5%)
CIE-LABlab(28.80, 48.56, -22.83)
CIE-LCHlch(28.80, 53.66, 334.82°)
OKLaboklab(40.69% 0.1428 -0.0622)
OKLCHoklch(40.69% 0.156 336.4)
XYZxyz(10.7317, 5.7607, 13.6407)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791968 #19792A
analogous
#5A1979 #791968 #791938
triadic
#791968 #687919 #196879
tetradic
#791968 #795A19 #19792A #193879
square
#791968 #795A19 #19792A #193879
split-complementary
#791968 #387919 #19795A
monochromatic
#190516 #460F3C #791968 #AC2394 #D637B9

Accessibility & contrast

On white

9.76
#791968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#791968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791968
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791968#FFFFFF#000000##FFFFFF
##7919681.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6A
Deuteranopia (green-blind)
#3D4966
Tritanopia (blue-blind)
#80203F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791968;
/* rgb */ color: rgb(121, 25, 104);
/* oklch */ color: oklch(40.7% 0.156 336.4);
Tailwind
colors: {
  custom: {
    50: '#a36293',
    500: '#791968',
    950: '#000000',
  },
}
SCSS
$custom: #791968;
$custom-light: #a36293;
$custom-dark: #000000;
JSON
{
  "hex": "#791968",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 310.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.15576,
    "h": 336.4
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#791968
secondary
#40AE54
accent
#E95D3F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #791968

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

Preview Lab → · Contrast checker → · Palette generator →

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