#781558#781558

#781558 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.4% C 0.148 H 344.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#781558
RGBrgb(120, 21, 88)
HSLhsl(319, 70%, 28%)
HSVhsv(319, 83%, 47%)
CMYKcmyk(0%, 82.5%, 26.7%, 52.9%)
CIE-LABlab(27.39, 47.22, -14.59)
CIE-LCHlch(27.39, 49.42, 342.83°)
OKLaboklab(39.38% 0.1432 -0.0389)
OKLCHoklch(39.38% 0.148 344.8)
XYZxyz(9.7758, 5.2351, 9.7263)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781558 #157835
analogous
#661578 #781558 #781526
triadic
#781558 #587815 #155878
tetradic
#781558 #786615 #157835 #152678
square
#781558 #786615 #157835 #152678
split-complementary
#781558 #267815 #157866
monochromatic
#1A0513 #440C32 #781558 #AC1E7E #DA2DA2

Accessibility & contrast

On white

10.26
#781558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#781558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781558
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781558#FFFFFF#000000##FFFFFF
##7815581.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23365A
Deuteranopia (green-blind)
#414756
Tritanopia (blue-blind)
#811335
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781558;
/* rgb */ color: rgb(120, 21, 88);
/* oklch */ color: oklch(39.4% 0.148 344.8);
Tailwind
colors: {
  custom: {
    50: '#a35f87',
    500: '#781558',
    950: '#000000',
  },
}
SCSS
$custom: #781558;
$custom-light: #a35f87;
$custom-dark: #000000;
JSON
{
  "hex": "#781558",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 319.394,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.14841,
    "h": 344.8
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#781558
secondary
#3BAE60
accent
#ED743B
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050B
muted
#7F797C

Preview Lab

Preview with #781558

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

Preview Lab → · Contrast checker → · Palette generator →

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