#781E63#781E63

#781E63 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.146 H 338.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#781E63
RGBrgb(120, 30, 99)
HSLhsl(314, 60%, 29%)
HSVhsv(314, 75%, 47%)
CMYKcmyk(0%, 75%, 17.5%, 52.9%)
CIE-LABlab(28.96, 45.82, -19.36)
CIE-LCHlch(28.96, 49.74, 337.10°)
OKLaboklab(40.69% 0.136 -0.0524)
OKLCHoklch(40.69% 0.146 338.9)
XYZxyz(10.4624, 5.8235, 12.3750)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E63 #1E7833
analogous
#601E78 #781E63 #781E36
triadic
#781E63 #63781E #1E6378
tetradic
#781E63 #78601E #1E7833 #1E3678
square
#781E63 #78601E #1E7833 #1E3678
split-complementary
#781E63 #36781E #1E7860
monochromatic
#180614 #47123B #781E63 #A92A8B #CF41AE

Accessibility & contrast

On white

9.70
#781E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#781E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E63
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E63#FFFFFF#000000##FFFFFF
##781E631.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B65
Deuteranopia (green-blind)
#404961
Tritanopia (blue-blind)
#7F223E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781e63;
/* rgb */ color: rgb(120, 30, 99);
/* oklch */ color: oklch(40.7% 0.146 338.9);
Tailwind
colors: {
  custom: {
    50: '#a2638f',
    500: '#781e63',
    950: '#000000',
  },
}
SCSS
$custom: #781e63;
$custom-light: #a2638f;
$custom-dark: #000000;
JSON
{
  "hex": "#781e63",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 314,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40688,
    "c": 0.14573,
    "h": 338.9
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#781E63
secondary
#46AC5E
accent
#E36A45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781E63

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

Preview Lab → · Contrast checker → · Palette generator →

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