#781A64#781A64

#781A64 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.151 H 338.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#781A64
RGBrgb(120, 26, 100)
HSLhsl(313, 64%, 29%)
HSVhsv(313, 78%, 47%)
CMYKcmyk(0%, 78.3%, 16.7%, 52.9%)
CIE-LABlab(28.52, 47.37, -20.70)
CIE-LCHlch(28.52, 51.70, 336.40°)
OKLaboklab(40.38% 0.1404 -0.0562)
OKLCHoklch(40.38% 0.151 338.2)
XYZxyz(10.4156, 5.6530, 12.5967)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A64 #1A782E
analogous
#5D1A78 #781A64 #781A35
triadic
#781A64 #64781A #1A6478
tetradic
#781A64 #785D1A #1A782E #1A3578
square
#781A64 #785D1A #1A782E #1A3578
split-complementary
#781A64 #35781A #1A785D
monochromatic
#190515 #460F3A #781A64 #AA258E #D438B3

Accessibility & contrast

On white

9.86
#781A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#781A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A64
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A64#FFFFFF#000000##FFFFFF
##781A641.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A66
Deuteranopia (green-blind)
#3E4862
Tritanopia (blue-blind)
#7F1F3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781a64;
/* rgb */ color: rgb(120, 26, 100);
/* oklch */ color: oklch(40.4% 0.151 338.2);
Tailwind
colors: {
  custom: {
    50: '#a26290',
    500: '#781a64',
    950: '#000000',
  },
}
SCSS
$custom: #781a64;
$custom-light: #a26290;
$custom-dark: #000000;
JSON
{
  "hex": "#781a64",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 312.766,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40384,
    "c": 0.15117,
    "h": 338.2
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#781A64
secondary
#41AC58
accent
#E76440
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781A64

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

Preview Lab → · Contrast checker → · Palette generator →

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