#781C4D#781C4D

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

Color values

HEX#781C4D
RGBrgb(120, 28, 77)
HSLhsl(328, 62%, 29%)
HSVhsv(328, 77%, 47%)
CMYKcmyk(0%, 76.7%, 35.8%, 52.9%)
CIE-LABlab(27.74, 43.52, -6.77)
CIE-LCHlch(27.74, 44.05, 351.16°)
OKLaboklab(39.48% 0.1334 -0.0174)
OKLCHoklch(39.48% 0.134 352.6)
XYZxyz(9.5011, 5.3605, 7.5541)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C4D #1C7847
analogous
#751C78 #781C4D #781C1F
triadic
#781C4D #4D781C #1C4D78
tetradic
#781C4D #78751C #1C7847 #1C1F78
square
#781C4D #78751C #1C7847 #1C1F78
split-complementary
#781C4D #1F781C #1C7875
monochromatic
#190610 #46102D #781C4D #AA286D #D23D8C

Accessibility & contrast

On white

10.14
#781C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C4D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C4D#FFFFFF#000000##FFFFFF
##781C4D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374E
Deuteranopia (green-blind)
#46484B
Tritanopia (blue-blind)
#821432
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781c4d;
/* rgb */ color: rgb(120, 28, 77);
/* oklch */ color: oklch(39.5% 0.134 352.6);
Tailwind
colors: {
  custom: {
    50: '#a3627e',
    500: '#781c4d',
    950: '#000000',
  },
}
SCSS
$custom: #781c4d;
$custom-light: #a3627e;
$custom-dark: #000000;
JSON
{
  "hex": "#781c4d",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 328.043,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39481,
    "c": 0.13448,
    "h": 352.6
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#781C4D
secondary
#44AC74
accent
#E58F43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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