#781D40#781D40

#781D40 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.128 H 1.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#781D40
RGBrgb(120, 29, 64)
HSLhsl(337, 61%, 29%)
HSVhsv(337, 76%, 47%)
CMYKcmyk(0%, 75.8%, 46.7%, 52.9%)
CIE-LABlab(27.42, 41.69, 1.46)
CIE-LCHlch(27.42, 41.72, 2.00°)
OKLaboklab(39.1% 0.1278 0.0042)
OKLCHoklch(39.1% 0.128 1.9)
XYZxyz(9.1112, 5.2431, 5.3817)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D40 #1D7855
analogous
#781D6E #781D40 #78281D
triadic
#781D40 #40781D #1D4078
tetradic
#781D40 #6E781D #1D7855 #281D78
square
#781D40 #6E781D #1D7855 #281D78
split-complementary
#781D40 #1D7828 #1D6E78
monochromatic
#19060D #471126 #781D40 #A9295A #D13F77

Accessibility & contrast

On white

10.25
#781D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#781D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D40
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D40#FFFFFF#000000##FFFFFF
##781D401.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781d40;
/* rgb */ color: rgb(120, 29, 64);
/* oklch */ color: oklch(39.1% 0.128 1.9);
Tailwind
colors: {
  custom: {
    50: '#a46274',
    500: '#781d40',
    950: '#000000',
  },
}
SCSS
$custom: #781d40;
$custom-light: #a46274;
$custom-dark: #000000;
JSON
{
  "hex": "#781d40",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 336.923,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.12784,
    "h": 1.9
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#781D40
secondary
#45AC84
accent
#E4A644
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781D40

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

Preview Lab → · Contrast checker → · Palette generator →

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