#781766#781766

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

Color values

HEX#781766
RGBrgb(120, 23, 102)
HSLhsl(311, 68%, 28%)
HSVhsv(311, 81%, 47%)
CMYKcmyk(0%, 80.8%, 15%, 52.9%)
CIE-LABlab(28.29, 48.63, -22.35)
CIE-LCHlch(28.29, 53.52, 335.32°)
OKLaboklab(40.25% 0.1434 -0.0609)
OKLCHoklch(40.25% 0.156 337)
XYZxyz(10.4506, 5.5662, 13.0918)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781766 #177829
analogous
#591778 #781766 #781735
triadic
#781766 #667817 #176678
tetradic
#781766 #785917 #177829 #173578
square
#781766 #785917 #177829 #173578
split-complementary
#781766 #357817 #177859
monochromatic
#1A0516 #450D3A #781766 #AB2192 #D832B9

Accessibility & contrast

On white

9.94
#781766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781766
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781766#FFFFFF#000000##FFFFFF
##7817661.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781766;
/* rgb */ color: rgb(120, 23, 102);
/* oklch */ color: oklch(40.3% 0.156 337.0);
Tailwind
colors: {
  custom: {
    50: '#a26192',
    500: '#781766',
    950: '#000000',
  },
}
SCSS
$custom: #781766;
$custom-light: #a26192;
$custom-dark: #000000;
JSON
{
  "hex": "#781766",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 311.134,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40253,
    "c": 0.1558,
    "h": 337
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#781766
secondary
#3EAD52
accent
#EB5D3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050D
muted
#7F7A7D

Preview Lab

Preview with #781766

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

Preview Lab → · Contrast checker → · Palette generator →

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