#781A40#781A40

#781A40 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.131 H 1.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#781A40
RGBrgb(120, 26, 64)
HSLhsl(336, 64%, 29%)
HSVhsv(336, 78%, 47%)
CMYKcmyk(0%, 78.3%, 46.7%, 52.9%)
CIE-LABlab(27.03, 42.78, 0.89)
CIE-LCHlch(27.03, 42.79, 1.19°)
OKLaboklab(38.81% 0.1313 0.0028)
OKLCHoklch(38.81% 0.131 1.2)
XYZxyz(9.0413, 5.1032, 5.3584)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A40 #1A7852
analogous
#781A6F #781A40 #78231A
triadic
#781A40 #40781A #1A4078
tetradic
#781A40 #6F781A #1A7852 #231A78
square
#781A40 #6F781A #1A7852 #231A78
split-complementary
#781A40 #1A7823 #1A6F78
monochromatic
#19050D #460F25 #781A40 #AA255B #D43877

Accessibility & contrast

On white

10.39
#781A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#781A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A40
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A40#FFFFFF#000000##FFFFFF
##781A401.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#49463E
Tritanopia (blue-blind)
#83082A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781a40;
/* rgb */ color: rgb(120, 26, 64);
/* oklch */ color: oklch(38.8% 0.131 1.2);
Tailwind
colors: {
  custom: {
    50: '#a46074',
    500: '#781a40',
    950: '#000000',
  },
}
SCSS
$custom: #781a40;
$custom-light: #a46074;
$custom-dark: #000000;
JSON
{
  "hex": "#781a40",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 335.745,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38809,
    "c": 0.1313,
    "h": 1.2
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#781A40
secondary
#41AC81
accent
#E7A440
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781A40

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

Preview Lab → · Contrast checker → · Palette generator →

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