#781E40#781E40

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

Color values

HEX#781E40
RGBrgb(120, 30, 64)
HSLhsl(337, 60%, 29%)
HSVhsv(337, 75%, 47%)
CMYKcmyk(0%, 75%, 46.7%, 52.9%)
CIE-LABlab(27.55, 41.31, 1.66)
CIE-LCHlch(27.55, 41.34, 2.30°)
OKLaboklab(39.2% 0.1266 0.0047)
OKLCHoklch(39.2% 0.127 2.1)
XYZxyz(9.1361, 5.2930, 5.3900)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E40 #1E7856
analogous
#781E6D #781E40 #78291E
triadic
#781E40 #40781E #1E4078
tetradic
#781E40 #6D781E #1E7856 #291E78
square
#781E40 #6D781E #1E7856 #291E78
split-complementary
#781E40 #1E7829 #1E6D78
monochromatic
#18060D #471226 #781E40 #A92A5A #CF4177

Accessibility & contrast

On white

10.20
#781E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E40
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E40#FFFFFF#000000##FFFFFF
##781E401.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#4A473E
Tritanopia (blue-blind)
#830F2C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781e40;
/* rgb */ color: rgb(120, 30, 64);
/* oklch */ color: oklch(39.2% 0.127 2.1);
Tailwind
colors: {
  custom: {
    50: '#a36274',
    500: '#781e40',
    950: '#000000',
  },
}
SCSS
$custom: #781e40;
$custom-light: #a36274;
$custom-dark: #000000;
JSON
{
  "hex": "#781e40",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 337.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39197,
    "c": 0.12664,
    "h": 2.1
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#781E40
secondary
#46AC85
accent
#E3A745
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781E40

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

Preview Lab → · Contrast checker → · Palette generator →

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