#781A42#781A42

#781A42 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.132 H 359.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#781A42
RGBrgb(120, 26, 66)
HSLhsl(334, 64%, 29%)
HSVhsv(334, 78%, 47%)
CMYKcmyk(0%, 78.3%, 45%, 52.9%)
CIE-LABlab(27.09, 42.99, -0.36)
CIE-LCHlch(27.09, 42.99, 359.52°)
OKLaboklab(38.88% 0.132 -0.0004)
OKLCHoklch(38.88% 0.132 359.8)
XYZxyz(9.0992, 5.1264, 5.6635)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A42 #1A7850
analogous
#781A71 #781A42 #78211A
triadic
#781A42 #42781A #1A4278
tetradic
#781A42 #71781A #1A7850 #211A78
square
#781A42 #71781A #1A7850 #211A78
split-complementary
#781A42 #1A7821 #1A7178
monochromatic
#19050E #460F26 #781A42 #AA255E #D4387B

Accessibility & contrast

On white

10.37
#781A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#781A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A42
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A42#FFFFFF#000000##FFFFFF
##781A421.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#484740
Tritanopia (blue-blind)
#830A2B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781a42;
/* rgb */ color: rgb(120, 26, 66);
/* oklch */ color: oklch(38.9% 0.132 359.8);
Tailwind
colors: {
  custom: {
    50: '#a46076',
    500: '#781a42',
    950: '#000000',
  },
}
SCSS
$custom: #781a42;
$custom-light: #a46076;
$custom-dark: #000000;
JSON
{
  "hex": "#781a42",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 334.468,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.132,
    "h": 359.8
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#781A42
secondary
#41AC7F
accent
#E7A040
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781A42

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

Preview Lab → · Contrast checker → · Palette generator →

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