#781D42#781D42

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

Color values

HEX#781D42
RGBrgb(120, 29, 66)
HSLhsl(336, 61%, 29%)
HSVhsv(336, 76%, 47%)
CMYKcmyk(0%, 75.8%, 45%, 52.9%)
CIE-LABlab(27.48, 41.90, 0.21)
CIE-LCHlch(27.48, 41.90, 0.28°)
OKLaboklab(39.16% 0.1285 0.001)
OKLCHoklch(39.16% 0.129 0.5)
XYZxyz(9.1692, 5.2663, 5.6869)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D42 #1D7853
analogous
#781D70 #781D42 #78251D
triadic
#781D42 #42781D #1D4278
tetradic
#781D42 #70781D #1D7853 #251D78
square
#781D42 #70781D #1D7853 #251D78
split-complementary
#781D42 #1D7825 #1D7078
monochromatic
#19060E #471127 #781D42 #A9295D #D13F7A

Accessibility & contrast

On white

10.23
#781D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781D42
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D42#FFFFFF#000000##FFFFFF
##781D421.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#830F2D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781d42;
/* rgb */ color: rgb(120, 29, 66);
/* oklch */ color: oklch(39.2% 0.129 0.5);
Tailwind
colors: {
  custom: {
    50: '#a36276',
    500: '#781d42',
    950: '#000000',
  },
}
SCSS
$custom: #781d42;
$custom-light: #a36276;
$custom-dark: #000000;
JSON
{
  "hex": "#781d42",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 335.604,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.12851,
    "h": 0.5
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#781D42
secondary
#45AC82
accent
#E4A344
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781D42

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

Preview Lab → · Contrast checker → · Palette generator →

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