#781562#781562

#781562 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.155 H 339.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#781562
RGBrgb(120, 21, 98)
HSLhsl(313, 70%, 28%)
HSVhsv(313, 83%, 47%)
CMYKcmyk(0%, 82.5%, 18.3%, 52.9%)
CIE-LABlab(27.88, 48.62, -20.39)
CIE-LCHlch(27.88, 52.72, 337.24°)
OKLaboklab(39.89% 0.1448 -0.0553)
OKLCHoklch(39.89% 0.155 339.1)
XYZxyz(10.2188, 5.4123, 12.0594)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781562 #15782B
analogous
#5C1578 #781562 #781531
triadic
#781562 #627815 #156278
tetradic
#781562 #785C15 #15782B #153178
square
#781562 #785C15 #15782B #153178
split-complementary
#781562 #317815 #15785C
monochromatic
#1A0515 #440C37 #781562 #AC1E8D #DA2DB4

Accessibility & contrast

On white

10.09
#781562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#781562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##781562#FFFFFF#000000##FFFFFF
##7815621.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)
#1C3864
Deuteranopia (green-blind)
#3E4760
Tritanopia (blue-blind)
#7F1A3B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781562;
/* rgb */ color: rgb(120, 21, 98);
/* oklch */ color: oklch(39.9% 0.155 339.1);
Tailwind
colors: {
  custom: {
    50: '#a3608f',
    500: '#781562',
    950: '#000000',
  },
}
SCSS
$custom: #781562;
$custom-light: #a3608f;
$custom-dark: #000000;
JSON
{
  "hex": "#781562",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 313.333,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39889,
    "c": 0.15496,
    "h": 339.1
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#781562
secondary
#3BAE55
accent
#ED623B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781562

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

Preview Lab → · Contrast checker → · Palette generator →

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