#782156#782156

#782156 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.133 H 347.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#782156
RGBrgb(120, 33, 86)
HSLhsl(323, 57%, 30%)
HSVhsv(323, 73%, 47%)
CMYKcmyk(0%, 72.5%, 28.3%, 52.9%)
CIE-LABlab(28.78, 42.78, -11.14)
CIE-LCHlch(28.78, 44.20, 345.40°)
OKLaboklab(40.36% 0.1298 -0.0294)
OKLCHoklch(40.36% 0.133 347.2)
XYZxyz(9.9697, 5.7537, 9.3878)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782156 #217843
analogous
#6E2178 #782156 #78212B
triadic
#782156 #567821 #215678
tetradic
#782156 #786E21 #217843 #212B78
square
#782156 #786E21 #217843 #212B78
split-complementary
#782156 #2B7821 #21786E
monochromatic
#180711 #481434 #782156 #A82E78 #CC4798

Accessibility & contrast

On white

9.76
#782156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#782156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782156
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782156#FFFFFF#000000##FFFFFF
##7821561.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A57
Deuteranopia (green-blind)
#464954
Tritanopia (blue-blind)
#811E38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782156;
/* rgb */ color: rgb(120, 33, 86);
/* oklch */ color: oklch(40.4% 0.133 347.2);
Tailwind
colors: {
  custom: {
    50: '#a26485',
    500: '#782156',
    950: '#000000',
  },
}
SCSS
$custom: #782156;
$custom-light: #a26485;
$custom-dark: #000000;
JSON
{
  "hex": "#782156",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 323.448,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.13312,
    "h": 347.2
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#782156
secondary
#4AAB70
accent
#E08348
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #782156

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

Preview Lab → · Contrast checker → · Palette generator →

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