#781C64#781C64

#781C64 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.149 H 338.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#781C64
RGBrgb(120, 28, 100)
HSLhsl(313, 62%, 29%)
HSVhsv(313, 77%, 47%)
CMYKcmyk(0%, 76.7%, 16.7%, 52.9%)
CIE-LABlab(28.76, 46.69, -20.32)
CIE-LCHlch(28.76, 50.92, 336.48°)
OKLaboklab(40.56% 0.1383 -0.0551)
OKLCHoklch(40.56% 0.149 338.3)
XYZxyz(10.4615, 5.7447, 12.6120)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C64 #1C7830
analogous
#5E1C78 #781C64 #781C36
triadic
#781C64 #64781C #1C6478
tetradic
#781C64 #785E1C #1C7830 #1C3678
square
#781C64 #785E1C #1C7830 #1C3678
split-complementary
#781C64 #36781C #1C785E
monochromatic
#190615 #46103B #781C64 #AA288D #D23DB1

Accessibility & contrast

On white

9.77
#781C64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781C64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C64
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C64#FFFFFF#000000##FFFFFF
##781C641.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203B66
Deuteranopia (green-blind)
#3F4962
Tritanopia (blue-blind)
#7F213E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781c64;
/* rgb */ color: rgb(120, 28, 100);
/* oklch */ color: oklch(40.6% 0.149 338.3);
Tailwind
colors: {
  custom: {
    50: '#a26290',
    500: '#781c64',
    950: '#000000',
  },
}
SCSS
$custom: #781c64;
$custom-light: #a26290;
$custom-dark: #000000;
JSON
{
  "hex": "#781c64",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 100
  },
  "hsl": {
    "h": 313.043,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40557,
    "c": 0.14888,
    "h": 338.3
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#781C64
secondary
#44AC5A
accent
#E56643
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781C64

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

Preview Lab → · Contrast checker → · Palette generator →

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