#781E47#781E47

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

Color values

HEX#781E47
RGBrgb(120, 30, 71)
HSLhsl(333, 60%, 29%)
HSVhsv(333, 75%, 47%)
CMYKcmyk(0%, 75%, 40.8%, 52.9%)
CIE-LABlab(27.78, 42.07, -2.70)
CIE-LCHlch(27.78, 42.16, 356.33°)
OKLaboklab(39.44% 0.1291 -0.0066)
OKLCHoklch(39.44% 0.129 357.1)
XYZxyz(9.3480, 5.3777, 6.5057)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E47 #1E784F
analogous
#781E74 #781E47 #78221E
triadic
#781E47 #47781E #1E4778
tetradic
#781E47 #74781E #1E784F #221E78
square
#781E47 #74781E #1E784F #221E78
split-complementary
#781E47 #1E7822 #1E7478
monochromatic
#18060E #47122A #781E47 #A92A64 #CF4182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781E47#FFFFFF#000000##FFFFFF
##781E471.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#821330
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781e47;
/* rgb */ color: rgb(120, 30, 71);
/* oklch */ color: oklch(39.4% 0.129 357.1);
Tailwind
colors: {
  custom: {
    50: '#a3627a',
    500: '#781e47',
    950: '#000000',
  },
}
SCSS
$custom: #781e47;
$custom-light: #a3627a;
$custom-dark: #000000;
JSON
{
  "hex": "#781e47",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 332.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39443,
    "c": 0.12924,
    "h": 357.1
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#781E47
secondary
#46AC7D
accent
#E39B45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781E47

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

Preview Lab → · Contrast checker → · Palette generator →

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