#781C40#781C40

#781C40 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.129 H 1.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#781C40
RGBrgb(120, 28, 64)
HSLhsl(337, 62%, 29%)
HSVhsv(337, 77%, 47%)
CMYKcmyk(0%, 76.7%, 46.7%, 52.9%)
CIE-LABlab(27.28, 42.06, 1.26)
CIE-LCHlch(27.28, 42.08, 1.72°)
OKLaboklab(39% 0.129 0.0037)
OKLCHoklch(39% 0.129 1.7)
XYZxyz(9.0871, 5.1949, 5.3737)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C40 #1C7854
analogous
#781C6E #781C40 #78261C
triadic
#781C40 #40781C #1C4078
tetradic
#781C40 #6E781C #1C7854 #261C78
square
#781C40 #6E781C #1C7854 #261C78
split-complementary
#781C40 #1C7826 #1C6E78
monochromatic
#19060D #461026 #781C40 #AA285A #D23D77

Accessibility & contrast

On white

10.30
#781C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#781C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C40
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C40#FFFFFF#000000##FFFFFF
##781C401.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313541
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#830C2B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781c40;
/* rgb */ color: rgb(120, 28, 64);
/* oklch */ color: oklch(39.0% 0.129 1.7);
Tailwind
colors: {
  custom: {
    50: '#a46174',
    500: '#781c40',
    950: '#000000',
  },
}
SCSS
$custom: #781c40;
$custom-light: #a46174;
$custom-dark: #000000;
JSON
{
  "hex": "#781c40",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 64
  },
  "hsl": {
    "h": 336.522,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.12901,
    "h": 1.7
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#781C40
secondary
#44AC83
accent
#E5A643
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781C40

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

Preview Lab → · Contrast checker → · Palette generator →

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