#781666#781666

#781666 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.2% C 0.157 H 337.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#781666
RGBrgb(120, 22, 102)
HSLhsl(311, 69%, 28%)
HSVhsv(311, 82%, 47%)
CMYKcmyk(0%, 81.7%, 15%, 52.9%)
CIE-LABlab(28.19, 48.93, -22.51)
CIE-LCHlch(28.19, 53.86, 335.29°)
OKLaboklab(40.18% 0.1443 -0.0613)
OKLCHoklch(40.18% 0.157 337)
XYZxyz(10.4311, 5.5272, 13.0853)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781666 #167828
analogous
#591678 #781666 #781635
triadic
#781666 #667816 #166678
tetradic
#781666 #785916 #167828 #163578
square
#781666 #785916 #167828 #163578
split-complementary
#781666 #357816 #167859
monochromatic
#1A0516 #440D3A #781666 #AC1F92 #D92FBA

Accessibility & contrast

On white

9.98
#781666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#781666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781666
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781666#FFFFFF#000000##FFFFFF
##7816661.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#3C4864
Tritanopia (blue-blind)
#7F1D3D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781666;
/* rgb */ color: rgb(120, 22, 102);
/* oklch */ color: oklch(40.2% 0.157 337.0);
Tailwind
colors: {
  custom: {
    50: '#a26092',
    500: '#781666',
    950: '#000000',
  },
}
SCSS
$custom: #781666;
$custom-light: #a26092;
$custom-dark: #000000;
JSON
{
  "hex": "#781666",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 311.02,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.1568,
    "h": 337
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#781666
secondary
#3CAD51
accent
#EC5C3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050D
muted
#7F7A7D

Preview Lab

Preview with #781666

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

Preview Lab → · Contrast checker → · Palette generator →

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