#781A56#781A56

#781A56 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.142 H 346.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#781A56
RGBrgb(120, 26, 86)
HSLhsl(322, 64%, 29%)
HSVhsv(322, 78%, 47%)
CMYKcmyk(0%, 78.3%, 28.3%, 52.9%)
CIE-LABlab(27.86, 45.38, -12.55)
CIE-LCHlch(27.86, 47.08, 344.53°)
OKLaboklab(39.69% 0.1379 -0.0332)
OKLCHoklch(39.69% 0.142 346.4)
XYZxyz(9.7953, 5.4048, 9.3297)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A56 #1A783C
analogous
#6B1A78 #781A56 #781A27
triadic
#781A56 #56781A #1A5678
tetradic
#781A56 #786B1A #1A783C #1A2778
square
#781A56 #786B1A #1A783C #1A2778
split-complementary
#781A56 #27781A #1A786B
monochromatic
#190512 #460F32 #781A56 #AA257A #D4389C

Accessibility & contrast

On white

10.09
#781A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#781A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A56
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A56#FFFFFF#000000##FFFFFF
##781A561.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273758
Deuteranopia (green-blind)
#434854
Tritanopia (blue-blind)
#811736
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781a56;
/* rgb */ color: rgb(120, 26, 86);
/* oklch */ color: oklch(39.7% 0.142 346.4);
Tailwind
colors: {
  custom: {
    50: '#a36185',
    500: '#781a56',
    950: '#000000',
  },
}
SCSS
$custom: #781a56;
$custom-light: #a36185;
$custom-dark: #000000;
JSON
{
  "hex": "#781a56",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 321.702,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39689,
    "c": 0.14186,
    "h": 346.4
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#781A56
secondary
#41AC68
accent
#E77D40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #781A56

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

Preview Lab → · Contrast checker → · Palette generator →

#781A56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva