#781864#781864

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

Color values

HEX#781864
RGBrgb(120, 24, 100)
HSLhsl(313, 67%, 28%)
HSVhsv(313, 80%, 47%)
CMYKcmyk(0%, 80%, 16.7%, 52.9%)
CIE-LABlab(28.29, 48.02, -21.05)
CIE-LCHlch(28.29, 52.43, 336.33°)
OKLaboklab(40.22% 0.1423 -0.0571)
OKLCHoklch(40.22% 0.153 338.1)
XYZxyz(10.3729, 5.5674, 12.5825)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781864 #18782C
analogous
#5C1878 #781864 #781834
triadic
#781864 #647818 #186478
tetradic
#781864 #785C18 #18782C #183478
square
#781864 #785C18 #18782C #183478
split-complementary
#781864 #347818 #18785C
monochromatic
#1A0515 #450E39 #781864 #AB228E #D634B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781864#FFFFFF#000000##FFFFFF
##7818641.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)
#1D3966
Deuteranopia (green-blind)
#3E4862
Tritanopia (blue-blind)
#7F1D3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781864;
/* rgb */ color: rgb(120, 24, 100);
/* oklch */ color: oklch(40.2% 0.153 338.1);
Tailwind
colors: {
  custom: {
    50: '#a26190',
    500: '#781864',
    950: '#000000',
  },
}
SCSS
$custom: #781864;
$custom-light: #a26190;
$custom-dark: #000000;
JSON
{
  "hex": "#781864",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 312.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40221,
    "c": 0.15334,
    "h": 338.1
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#781864
secondary
#3FAD56
accent
#EA623E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781864

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

Preview Lab → · Contrast checker → · Palette generator →

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