#781C67#781C67

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

Color values

HEX#781C67
RGBrgb(120, 28, 103)
HSLhsl(311, 62%, 29%)
HSVhsv(311, 77%, 47%)
CMYKcmyk(0%, 76.7%, 14.2%, 52.9%)
CIE-LABlab(28.91, 47.16, -22.02)
CIE-LCHlch(28.91, 52.05, 334.96°)
OKLaboklab(40.72% 0.1387 -0.06)
OKLCHoklch(40.72% 0.151 336.6)
XYZxyz(10.6093, 5.8038, 13.3908)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C67 #1C782D
analogous
#5B1C78 #781C67 #781C39
triadic
#781C67 #67781C #1C6778
tetradic
#781C67 #785B1C #1C782D #1C3978
square
#781C67 #785B1C #1C782D #1C3978
split-complementary
#781C67 #39781C #1C785B
monochromatic
#190615 #46103C #781C67 #AA2892 #D23DB6

Accessibility & contrast

On white

9.72
#781C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C67
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C67#FFFFFF#000000##FFFFFF
##781C671.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B69
Deuteranopia (green-blind)
#3E4965
Tritanopia (blue-blind)
#7F223F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781c67;
/* rgb */ color: rgb(120, 28, 103);
/* oklch */ color: oklch(40.7% 0.151 336.6);
Tailwind
colors: {
  custom: {
    50: '#a26292',
    500: '#781c67',
    950: '#000000',
  },
}
SCSS
$custom: #781c67;
$custom-light: #a26292;
$custom-dark: #000000;
JSON
{
  "hex": "#781c67",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 311.087,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40717,
    "c": 0.15108,
    "h": 336.6
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#781C67
secondary
#44AC57
accent
#E56143
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781C67

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

Preview Lab → · Contrast checker → · Palette generator →

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