#781F53#781F53

#781F53 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.134 H 349.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#781F53
RGBrgb(120, 31, 83)
HSLhsl(325, 59%, 30%)
HSVhsv(325, 74%, 47%)
CMYKcmyk(0%, 74.2%, 30.8%, 52.9%)
CIE-LABlab(28.38, 43.16, -9.78)
CIE-LCHlch(28.38, 44.26, 347.23°)
OKLaboklab(40.03% 0.1315 -0.0256)
OKLCHoklch(40.03% 0.134 349)
XYZxyz(9.7975, 5.5987, 8.7466)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F53 #1F7844
analogous
#711F78 #781F53 #781F27
triadic
#781F53 #53781F #1F5378
tetradic
#781F53 #78711F #1F7844 #1F2778
square
#781F53 #78711F #1F7844 #1F2778
split-complementary
#781F53 #27781F #1F7871
monochromatic
#180611 #471231 #781F53 #A92C75 #CE4394

Accessibility & contrast

On white

9.91
#781F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F53
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F53#FFFFFF#000000##FFFFFF
##781F531.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3954
Deuteranopia (green-blind)
#464951
Tritanopia (blue-blind)
#811B36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781f53;
/* rgb */ color: rgb(120, 31, 83);
/* oklch */ color: oklch(40.0% 0.134 349.0);
Tailwind
colors: {
  custom: {
    50: '#a36383',
    500: '#781f53',
    950: '#000000',
  },
}
SCSS
$custom: #781f53;
$custom-light: #a36383;
$custom-dark: #000000;
JSON
{
  "hex": "#781f53",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 324.944,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40026,
    "c": 0.13399,
    "h": 349
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#781F53
secondary
#47AB71
accent
#E28746
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060A
muted
#7F7A7C

Preview Lab

Preview with #781F53

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

Preview Lab → · Contrast checker → · Palette generator →

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