#781D52#781D52

#781D52 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.136 H 349.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#781D52
RGBrgb(120, 29, 82)
HSLhsl(325, 61%, 29%)
HSVhsv(325, 76%, 47%)
CMYKcmyk(0%, 75.8%, 31.7%, 52.9%)
CIE-LABlab(28.07, 43.79, -9.59)
CIE-LCHlch(28.07, 44.83, 347.64°)
OKLaboklab(39.79% 0.1336 -0.0251)
OKLCHoklch(39.79% 0.136 349.4)
XYZxyz(9.7086, 5.4821, 8.5279)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D52 #1D7843
analogous
#711D78 #781D52 #781D25
triadic
#781D52 #52781D #1D5278
tetradic
#781D52 #78711D #1D7843 #1D2578
square
#781D52 #78711D #1D7843 #1D2578
split-complementary
#781D52 #25781D #1D7871
monochromatic
#190611 #471130 #781D52 #A92974 #D13F94

Accessibility & contrast

On white

10.02
#781D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D52
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D52#FFFFFF#000000##FFFFFF
##781D521.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781d52;
/* rgb */ color: rgb(120, 29, 82);
/* oklch */ color: oklch(39.8% 0.136 349.4);
Tailwind
colors: {
  custom: {
    50: '#a36282',
    500: '#781d52',
    950: '#000000',
  },
}
SCSS
$custom: #781d52;
$custom-light: #a36282;
$custom-dark: #000000;
JSON
{
  "hex": "#781d52",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 325.055,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39786,
    "c": 0.13594,
    "h": 349.4
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#781D52
secondary
#45AC70
accent
#E48744
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781D52

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

Preview Lab → · Contrast checker → · Palette generator →

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