#781C52#781C52

#781C52 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.137 H 349.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#781C52
RGBrgb(120, 28, 82)
HSLhsl(325, 62%, 29%)
HSVhsv(325, 77%, 47%)
CMYKcmyk(0%, 76.7%, 31.7%, 52.9%)
CIE-LABlab(27.94, 44.15, -9.79)
CIE-LCHlch(27.94, 45.22, 347.50°)
OKLaboklab(39.69% 0.1348 -0.0256)
OKLCHoklch(39.69% 0.137 349.2)
XYZxyz(9.6845, 5.4339, 8.5198)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C52 #1C7842
analogous
#701C78 #781C52 #781C24
triadic
#781C52 #52781C #1C5278
tetradic
#781C52 #78701C #1C7842 #1C2478
square
#781C52 #78701C #1C7842 #1C2478
split-complementary
#781C52 #24781C #1C7870
monochromatic
#190611 #461030 #781C52 #AA2874 #D23D94

Accessibility & contrast

On white

10.06
#781C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C52
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C52#FFFFFF#000000##FFFFFF
##781C521.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3853
Deuteranopia (green-blind)
#454850
Tritanopia (blue-blind)
#811734
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781c52;
/* rgb */ color: rgb(120, 28, 82);
/* oklch */ color: oklch(39.7% 0.137 349.2);
Tailwind
colors: {
  custom: {
    50: '#a36282',
    500: '#781c52',
    950: '#000000',
  },
}
SCSS
$custom: #781c52;
$custom-light: #a36282;
$custom-dark: #000000;
JSON
{
  "hex": "#781c52",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 324.783,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.13717,
    "h": 349.2
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#781C52
secondary
#44AC6F
accent
#E58643
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781C52

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

Preview Lab → · Contrast checker → · Palette generator →

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