#781F42#781F42

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

Color values

HEX#781F42
RGBrgb(120, 31, 66)
HSLhsl(336, 59%, 30%)
HSVhsv(336, 74%, 47%)
CMYKcmyk(0%, 74.2%, 45%, 52.9%)
CIE-LABlab(27.76, 41.13, 0.61)
CIE-LCHlch(27.76, 41.13, 0.85°)
OKLaboklab(39.37% 0.1261 0.0021)
OKLCHoklch(39.37% 0.126 0.9)
XYZxyz(9.2198, 5.3676, 5.7037)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F42 #1F7855
analogous
#781F6F #781F42 #78281F
triadic
#781F42 #42781F #1F4278
tetradic
#781F42 #6F781F #1F7855 #281F78
square
#781F42 #6F781F #1F7855 #281F78
split-complementary
#781F42 #1F7828 #1F6F78
monochromatic
#18060D #471227 #781F42 #A92C5D #CE437A

Accessibility & contrast

On white

10.13
#781F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#781F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F42
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F42#FFFFFF#000000##FFFFFF
##781F421.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323743
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#82122E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781f42;
/* rgb */ color: rgb(120, 31, 66);
/* oklch */ color: oklch(39.4% 0.126 0.9);
Tailwind
colors: {
  custom: {
    50: '#a36276',
    500: '#781f42',
    950: '#000000',
  },
}
SCSS
$custom: #781f42;
$custom-light: #a36276;
$custom-dark: #000000;
JSON
{
  "hex": "#781f42",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 336.404,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.12607,
    "h": 0.9
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#781F42
secondary
#47AB84
accent
#E2A546
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #781F42

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

Preview Lab → · Contrast checker → · Palette generator →

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