#781557#781557

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

Color values

HEX#781557
RGBrgb(120, 21, 87)
HSLhsl(320, 70%, 28%)
HSVhsv(320, 83%, 47%)
CMYKcmyk(0%, 82.5%, 27.5%, 52.9%)
CIE-LABlab(27.35, 47.09, -14.00)
CIE-LCHlch(27.35, 49.12, 343.45°)
OKLaboklab(39.33% 0.143 -0.0372)
OKLCHoklch(39.33% 0.148 345.4)
XYZxyz(9.7346, 5.2186, 9.5096)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781557 #157836
analogous
#671578 #781557 #781525
triadic
#781557 #577815 #155778
tetradic
#781557 #786715 #157836 #152578
square
#781557 #786715 #157836 #152578
split-complementary
#781557 #257815 #157867
monochromatic
#1A0513 #440C31 #781557 #AC1E7D #DA2DA1

Accessibility & contrast

On white

10.28
#781557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#781557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781557
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781557#FFFFFF#000000##FFFFFF
##7815571.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233659
Deuteranopia (green-blind)
#424755
Tritanopia (blue-blind)
#811335
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781557;
/* rgb */ color: rgb(120, 21, 87);
/* oklch */ color: oklch(39.3% 0.148 345.4);
Tailwind
colors: {
  custom: {
    50: '#a35f86',
    500: '#781557',
    950: '#000000',
  },
}
SCSS
$custom: #781557;
$custom-light: #a35f86;
$custom-dark: #000000;
JSON
{
  "hex": "#781557",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 320,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.14779,
    "h": 345.4
  },
  "luminance": 0.05218
}

Semantic roles & 50–950 ramp

primary
#781557
secondary
#3BAE61
accent
#ED763B
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050B
muted
#7F797C

Preview Lab

Preview with #781557

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

Preview Lab → · Contrast checker → · Palette generator →

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