#782856#782856

#782856 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.2% C 0.123 H 348.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#782856
RGBrgb(120, 40, 86)
HSLhsl(326, 50%, 31%)
HSVhsv(326, 67%, 47%)
CMYKcmyk(0%, 66.7%, 28.3%, 52.9%)
CIE-LABlab(29.87, 39.77, -9.49)
CIE-LCHlch(29.87, 40.88, 346.58°)
OKLaboklab(41.16% 0.1205 -0.0249)
OKLCHoklch(41.16% 0.123 348.3)
XYZxyz(10.1847, 6.1836, 9.4595)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782856 #28784A
analogous
#722878 #782856 #78282E
triadic
#782856 #567828 #285678
tetradic
#782856 #787228 #28784A #282E78
square
#782856 #787228 #28784A #282E78
split-complementary
#782856 #2E7828 #287872
monochromatic
#1C0914 #4A1935 #782856 #A63777 #C65496

Accessibility & contrast

On white

9.39
#782856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#782856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782856
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782856#FFFFFF#000000##FFFFFF
##7828561.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E57
Deuteranopia (green-blind)
#494B54
Tritanopia (blue-blind)
#80253B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #782856;
/* rgb */ color: rgb(120, 40, 86);
/* oklch */ color: oklch(41.2% 0.123 348.3);
Tailwind
colors: {
  custom: {
    50: '#a26885',
    500: '#782856',
    950: '#000000',
  },
}
SCSS
$custom: #782856;
$custom-light: #a26885;
$custom-dark: #000000;
JSON
{
  "hex": "#782856",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 325.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.12308,
    "h": 348.3
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#782856
secondary
#52AA77
accent
#DA894E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #782856

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

Preview Lab → · Contrast checker → · Palette generator →

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