#781E49#781E49

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

Color values

HEX#781E49
RGBrgb(120, 30, 73)
HSLhsl(331, 60%, 29%)
HSVhsv(331, 75%, 47%)
CMYKcmyk(0%, 75%, 39.2%, 52.9%)
CIE-LABlab(27.86, 42.30, -3.93)
CIE-LCHlch(27.86, 42.48, 354.69°)
OKLaboklab(39.52% 0.1297 -0.0098)
OKLCHoklch(39.52% 0.13 355.7)
XYZxyz(9.4132, 5.4038, 6.8494)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E49 #1E784D
analogous
#781E76 #781E49 #78201E
triadic
#781E49 #49781E #1E4978
tetradic
#781E49 #76781E #1E784D #201E78
square
#781E49 #76781E #1E784D #201E78
split-complementary
#781E49 #1E7820 #1E7678
monochromatic
#18060F #47122B #781E49 #A92A67 #CF4185

Accessibility & contrast

On white

10.09
#781E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#781E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E49
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E49#FFFFFF#000000##FFFFFF
##781E491.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F374A
Deuteranopia (green-blind)
#484847
Tritanopia (blue-blind)
#821430
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781e49;
/* rgb */ color: rgb(120, 30, 73);
/* oklch */ color: oklch(39.5% 0.130 355.7);
Tailwind
colors: {
  custom: {
    50: '#a3627b',
    500: '#781e49',
    950: '#000000',
  },
}
SCSS
$custom: #781e49;
$custom-light: #a3627b;
$custom-dark: #000000;
JSON
{
  "hex": "#781e49",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 331.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.13011,
    "h": 355.7
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#781E49
secondary
#46AC7B
accent
#E39745
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781E49

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

Preview Lab → · Contrast checker → · Palette generator →

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