#781866#781866

#781866 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.155 H 337.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#781866
RGBrgb(120, 24, 102)
HSLhsl(311, 67%, 28%)
HSVhsv(311, 80%, 47%)
CMYKcmyk(0%, 80%, 15%, 52.9%)
CIE-LABlab(28.40, 48.32, -22.18)
CIE-LCHlch(28.40, 53.17, 335.34°)
OKLaboklab(40.33% 0.1425 -0.0604)
OKLCHoklch(40.33% 0.155 337)
XYZxyz(10.4708, 5.6066, 13.0985)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781866 #18782A
analogous
#5A1878 #781866 #781836
triadic
#781866 #667818 #186678
tetradic
#781866 #785A18 #18782A #183678
square
#781866 #785A18 #18782A #183678
split-complementary
#781866 #367818 #18785A
monochromatic
#1A0516 #450E3B #781866 #AB2291 #D634B8

Accessibility & contrast

On white

9.90
#781866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781866
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781866#FFFFFF#000000##FFFFFF
##7818661.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#3D4864
Tritanopia (blue-blind)
#7F1F3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781866;
/* rgb */ color: rgb(120, 24, 102);
/* oklch */ color: oklch(40.3% 0.155 337.0);
Tailwind
colors: {
  custom: {
    50: '#a26192',
    500: '#781866',
    950: '#000000',
  },
}
SCSS
$custom: #781866;
$custom-light: #a26192;
$custom-dark: #000000;
JSON
{
  "hex": "#781866",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 311.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4033,
    "c": 0.15477,
    "h": 337
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#781866
secondary
#3FAD54
accent
#EA5E3E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050D
muted
#7F7A7D

Preview Lab

Preview with #781866

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

Preview Lab → · Contrast checker → · Palette generator →

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