#781A66#781A66

#781A66 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.153 H 337.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#781A66
RGBrgb(120, 26, 102)
HSLhsl(311, 64%, 29%)
HSVhsv(311, 78%, 47%)
CMYKcmyk(0%, 78.3%, 15%, 52.9%)
CIE-LABlab(28.62, 47.68, -21.83)
CIE-LCHlch(28.62, 52.44, 335.40°)
OKLaboklab(40.49% 0.1406 -0.0594)
OKLCHoklch(40.49% 0.153 337.1)
XYZxyz(10.5136, 5.6922, 13.1128)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A66 #1A782C
analogous
#5B1A78 #781A66 #781A37
triadic
#781A66 #66781A #1A6678
tetradic
#781A66 #785B1A #1A782C #1A3778
square
#781A66 #785B1A #1A782C #1A3778
split-complementary
#781A66 #37781A #1A785B
monochromatic
#190515 #460F3B #781A66 #AA2591 #D438B6

Accessibility & contrast

On white

9.82
#781A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#781A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A66
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A66#FFFFFF#000000##FFFFFF
##781A661.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A68
Deuteranopia (green-blind)
#3E4964
Tritanopia (blue-blind)
#7F203E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781a66;
/* rgb */ color: rgb(120, 26, 102);
/* oklch */ color: oklch(40.5% 0.153 337.1);
Tailwind
colors: {
  custom: {
    50: '#a26292',
    500: '#781a66',
    950: '#000000',
  },
}
SCSS
$custom: #781a66;
$custom-light: #a26292;
$custom-dark: #000000;
JSON
{
  "hex": "#781a66",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 311.489,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.15261,
    "h": 337.1
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#781A66
secondary
#41AC56
accent
#E76040
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060D
muted
#7F7A7D

Preview Lab

Preview with #781A66

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

Preview Lab → · Contrast checker → · Palette generator →

#781A66 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva