#791866#791866

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

Color values

HEX#791866
RGBrgb(121, 24, 102)
HSLhsl(312, 67%, 28%)
HSVhsv(312, 80%, 47%)
CMYKcmyk(0%, 80.2%, 15.7%, 52.5%)
CIE-LABlab(28.59, 48.57, -21.87)
CIE-LCHlch(28.59, 53.27, 335.75°)
OKLaboklab(40.5% 0.1435 -0.0595)
OKLCHoklch(40.5% 0.155 337.5)
XYZxyz(10.6103, 5.6785, 13.1051)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791866 #18792B
analogous
#5B1879 #791866 #791835
triadic
#791866 #667918 #186679
tetradic
#791866 #795B18 #18792B #183579
square
#791866 #795B18 #18792B #183579
split-complementary
#791866 #357918 #18795B
monochromatic
#1A0516 #460E3B #791866 #AC2291 #D735B7

Accessibility & contrast

On white

9.83
#791866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791866
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791866#FFFFFF#000000##FFFFFF
##7918661.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#3E4964
Tritanopia (blue-blind)
#801E3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #791866;
/* rgb */ color: rgb(121, 24, 102);
/* oklch */ color: oklch(40.5% 0.155 337.5);
Tailwind
colors: {
  custom: {
    50: '#a36192',
    500: '#791866',
    950: '#000000',
  },
}
SCSS
$custom: #791866;
$custom-light: #a36192;
$custom-dark: #000000;
JSON
{
  "hex": "#791866",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 311.753,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40501,
    "c": 0.15536,
    "h": 337.5
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#791866
secondary
#3FAE55
accent
#EA603E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #791866

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

Preview Lab → · Contrast checker → · Palette generator →

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