#791966#791966

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

Color values

HEX#791966
RGBrgb(121, 25, 102)
HSLhsl(312, 66%, 29%)
HSVhsv(312, 79%, 47%)
CMYKcmyk(0%, 79.3%, 15.7%, 52.5%)
CIE-LABlab(28.70, 48.25, -21.70)
CIE-LCHlch(28.70, 52.91, 335.78°)
OKLaboklab(40.58% 0.1426 -0.059)
OKLCHoklch(40.58% 0.154 337.5)
XYZxyz(10.6313, 5.7205, 13.1121)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791966 #19792C
analogous
#5C1979 #791966 #791936
triadic
#791966 #667919 #196679
tetradic
#791966 #795C19 #19792C #193679
square
#791966 #795C19 #19792C #193679
split-complementary
#791966 #367919 #19795C
monochromatic
#190515 #460F3B #791966 #AC2391 #D637B6

Accessibility & contrast

On white

9.79
#791966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791966
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791966#FFFFFF#000000##FFFFFF
##7919661.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A68
Deuteranopia (green-blind)
#3E4964
Tritanopia (blue-blind)
#801F3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791966;
/* rgb */ color: rgb(121, 25, 102);
/* oklch */ color: oklch(40.6% 0.154 337.5);
Tailwind
colors: {
  custom: {
    50: '#a36192',
    500: '#791966',
    950: '#000000',
  },
}
SCSS
$custom: #791966;
$custom-light: #a36192;
$custom-dark: #000000;
JSON
{
  "hex": "#791966",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 311.875,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.15431,
    "h": 337.5
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#791966
secondary
#40AE56
accent
#E9613F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #791966

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

Preview Lab → · Contrast checker → · Palette generator →

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