#781E42#781E42

#781E42 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.127 H 0.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#781E42
RGBrgb(120, 30, 66)
HSLhsl(336, 60%, 29%)
HSVhsv(336, 75%, 47%)
CMYKcmyk(0%, 75%, 45%, 52.9%)
CIE-LABlab(27.62, 41.52, 0.41)
CIE-LCHlch(27.62, 41.52, 0.56°)
OKLaboklab(39.27% 0.1273 0.0015)
OKLCHoklch(39.27% 0.127 0.7)
XYZxyz(9.1941, 5.3161, 5.6952)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E42 #1E7854
analogous
#781E6F #781E42 #78271E
triadic
#781E42 #42781E #1E4278
tetradic
#781E42 #6F781E #1E7854 #271E78
square
#781E42 #6F781E #1E7854 #271E78
split-complementary
#781E42 #1E7827 #1E6F78
monochromatic
#18060D #471227 #781E42 #A92A5D #CF417A

Accessibility & contrast

On white

10.18
#781E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#781E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E42
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E42#FFFFFF#000000##FFFFFF
##781E421.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#82112D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781e42;
/* rgb */ color: rgb(120, 30, 66);
/* oklch */ color: oklch(39.3% 0.127 0.7);
Tailwind
colors: {
  custom: {
    50: '#a36276',
    500: '#781e42',
    950: '#000000',
  },
}
SCSS
$custom: #781e42;
$custom-light: #a36276;
$custom-dark: #000000;
JSON
{
  "hex": "#781e42",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 66
  },
  "hsl": {
    "h": 336,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39265,
    "c": 0.1273,
    "h": 0.7
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#781E42
secondary
#46AC83
accent
#E3A445
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781E42

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

Preview Lab → · Contrast checker → · Palette generator →

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