#781A39#781A39

#781A39 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.129 H 6.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#781A39
RGBrgb(120, 26, 57)
HSLhsl(340, 64%, 29%)
HSVhsv(340, 78%, 47%)
CMYKcmyk(0%, 78.3%, 52.5%, 52.9%)
CIE-LABlab(26.82, 42.11, 5.32)
CIE-LCHlch(26.82, 42.45, 7.20°)
OKLaboklab(38.59% 0.1286 0.0139)
OKLCHoklch(38.59% 0.129 6.2)
XYZxyz(8.8544, 5.0285, 4.3744)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A39 #1A7859
analogous
#781A68 #781A39 #782A1A
triadic
#781A39 #39781A #1A3978
tetradic
#781A39 #68781A #1A7859 #2A1A78
square
#781A39 #68781A #1A7859 #2A1A78
split-complementary
#781A39 #1A782A #1A6878
monochromatic
#19050C #460F21 #781A39 #AA2551 #D4386C

Accessibility & contrast

On white

10.47
#781A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A39
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A39#FFFFFF#000000##FFFFFF
##781A391.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31333A
Deuteranopia (green-blind)
#4A4637
Tritanopia (blue-blind)
#830327
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781a39;
/* rgb */ color: rgb(120, 26, 57);
/* oklch */ color: oklch(38.6% 0.129 6.2);
Tailwind
colors: {
  custom: {
    50: '#a4606f',
    500: '#781a39',
    950: '#000000',
  },
}
SCSS
$custom: #781a39;
$custom-light: #a4606f;
$custom-dark: #000000;
JSON
{
  "hex": "#781a39",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 340.213,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38585,
    "c": 0.12932,
    "h": 6.2
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#781A39
secondary
#41AC89
accent
#E7B040
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #781A39

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

Preview Lab → · Contrast checker → · Palette generator →

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