#782868#782868

#782868 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.136 H 336.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#782868
RGBrgb(120, 40, 104)
HSLhsl(312, 50%, 31%)
HSVhsv(312, 67%, 47%)
CMYKcmyk(0%, 66.7%, 13.3%, 52.9%)
CIE-LABlab(30.67, 42.54, -19.93)
CIE-LCHlch(30.67, 46.98, 334.89°)
OKLaboklab(42.01% 0.1246 -0.0541)
OKLCHoklch(42.01% 0.136 336.5)
XYZxyz(11.0034, 6.5111, 13.7713)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782868 #287838
analogous
#602878 #782868 #782840
triadic
#782868 #687828 #286878
tetradic
#782868 #786028 #287838 #284078
square
#782868 #786028 #287838 #284078
split-complementary
#782868 #407828 #287860
monochromatic
#1C0918 #4A1940 #782868 #A63790 #C654AF

Accessibility & contrast

On white

9.12
#782868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#782868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782868
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782868#FFFFFF#000000##FFFFFF
##7828681.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29406A
Deuteranopia (green-blind)
#434D66
Tritanopia (blue-blind)
#7E2C44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782868;
/* rgb */ color: rgb(120, 40, 104);
/* oklch */ color: oklch(42.0% 0.136 336.5);
Tailwind
colors: {
  custom: {
    50: '#a26893',
    500: '#782868',
    950: '#000000',
  },
}
SCSS
$custom: #782868;
$custom-light: #a26893;
$custom-dark: #000000;
JSON
{
  "hex": "#782868",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 104
  },
  "hsl": {
    "h": 312,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42007,
    "c": 0.13582,
    "h": 336.5
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#782868
secondary
#52AA63
accent
#DA6A4E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #782868

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

Preview Lab → · Contrast checker → · Palette generator →

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