#781C4E#781C4E

#781C4E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.135 H 351.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#781C4E
RGBrgb(120, 28, 78)
HSLhsl(327, 62%, 29%)
HSVhsv(327, 77%, 47%)
CMYKcmyk(0%, 76.7%, 35%, 52.9%)
CIE-LABlab(27.78, 43.65, -7.38)
CIE-LCHlch(27.78, 44.27, 350.41°)
OKLaboklab(39.52% 0.1336 -0.019)
OKLCHoklch(39.52% 0.135 351.9)
XYZxyz(9.5367, 5.3748, 7.7415)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C4E #1C7846
analogous
#741C78 #781C4E #781C20
triadic
#781C4E #4E781C #1C4E78
tetradic
#781C4E #78741C #1C7846 #1C2078
square
#781C4E #78741C #1C7846 #1C2078
split-complementary
#781C4E #20781C #1C7874
monochromatic
#190610 #46102E #781C4E #AA286E #D23D8E

Accessibility & contrast

On white

10.12
#781C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#781C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C4E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C4E#FFFFFF#000000##FFFFFF
##781C4E1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#46484C
Tritanopia (blue-blind)
#811532
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781c4e;
/* rgb */ color: rgb(120, 28, 78);
/* oklch */ color: oklch(39.5% 0.135 351.9);
Tailwind
colors: {
  custom: {
    50: '#a3627f',
    500: '#781c4e',
    950: '#000000',
  },
}
SCSS
$custom: #781c4e;
$custom-light: #a3627f;
$custom-dark: #000000;
JSON
{
  "hex": "#781c4e",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 327.391,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39522,
    "c": 0.13499,
    "h": 351.9
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#781C4E
secondary
#44AC73
accent
#E58D43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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