#782864#782864

#782864 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.133 H 339.0°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#782864
RGBrgb(120, 40, 100)
HSLhsl(315, 50%, 31%)
HSVhsv(315, 67%, 47%)
CMYKcmyk(0%, 66.7%, 16.7%, 52.9%)
CIE-LABlab(30.48, 41.88, -17.65)
CIE-LCHlch(30.48, 45.45, 337.14°)
OKLaboklab(41.81% 0.1239 -0.0477)
OKLCHoklch(41.81% 0.133 339)
XYZxyz(10.8050, 6.4317, 12.7265)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782864 #28783C
analogous
#642878 #782864 #78283C
triadic
#782864 #647828 #286478
tetradic
#782864 #786428 #28783C #283C78
square
#782864 #786428 #28783C #283C78
split-complementary
#782864 #3C7828 #287864
monochromatic
#1C0918 #4A193E #782864 #A6378A #C654AA

Accessibility & contrast

On white

9.19
#782864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#782864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782864
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782864#FFFFFF#000000##FFFFFF
##7828641.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4066
Deuteranopia (green-blind)
#444C62
Tritanopia (blue-blind)
#7F2B42
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782864;
/* rgb */ color: rgb(120, 40, 100);
/* oklch */ color: oklch(41.8% 0.133 339.0);
Tailwind
colors: {
  custom: {
    50: '#a26890',
    500: '#782864',
    950: '#000000',
  },
}
SCSS
$custom: #782864;
$custom-light: #a26890;
$custom-dark: #000000;
JSON
{
  "hex": "#782864",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 315,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41806,
    "c": 0.13272,
    "h": 339
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#782864
secondary
#52AA68
accent
#DA714E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #782864

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

Preview Lab → · Contrast checker → · Palette generator →

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