#781564#781564

#781564 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 40.0% C 0.156 H 338.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#781564
RGBrgb(120, 21, 100)
HSLhsl(312, 70%, 28%)
HSVhsv(312, 83%, 47%)
CMYKcmyk(0%, 82.5%, 16.7%, 52.9%)
CIE-LABlab(27.98, 48.92, -21.54)
CIE-LCHlch(27.98, 53.45, 336.24°)
OKLaboklab(40% 0.145 -0.0585)
OKLCHoklch(40% 0.156 338)
XYZxyz(10.3144, 5.4505, 12.5630)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781564 #157829
analogous
#5A1578 #781564 #781533
triadic
#781564 #647815 #156478
tetradic
#781564 #785A15 #157829 #153378
square
#781564 #785A15 #157829 #153378
split-complementary
#781564 #337815 #15785A
monochromatic
#1A0516 #440C39 #781564 #AC1E8F #DA2DB7

Accessibility & contrast

On white

10.05
#781564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781564
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781564#FFFFFF#000000##FFFFFF
##7815641.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3866
Deuteranopia (green-blind)
#3D4762
Tritanopia (blue-blind)
#7F1B3C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781564;
/* rgb */ color: rgb(120, 21, 100);
/* oklch */ color: oklch(40.0% 0.156 338.0);
Tailwind
colors: {
  custom: {
    50: '#a36090',
    500: '#781564',
    950: '#000000',
  },
}
SCSS
$custom: #781564;
$custom-light: #a36090;
$custom-dark: #000000;
JSON
{
  "hex": "#781564",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 312.121,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39997,
    "c": 0.15636,
    "h": 338
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#781564
secondary
#3BAE52
accent
#ED5F3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781564

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

Preview Lab → · Contrast checker → · Palette generator →

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