#781F54#781F54

#781F54 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.135 H 348.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#781F54
RGBrgb(120, 31, 84)
HSLhsl(324, 59%, 30%)
HSVhsv(324, 74%, 47%)
CMYKcmyk(0%, 74.2%, 30%, 52.9%)
CIE-LABlab(28.42, 43.29, -10.38)
CIE-LCHlch(28.42, 44.52, 346.51°)
OKLaboklab(40.07% 0.1318 -0.0273)
OKLCHoklch(40.07% 0.135 348.3)
XYZxyz(9.8364, 5.6142, 8.9514)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F54 #1F7843
analogous
#701F78 #781F54 #781F27
triadic
#781F54 #54781F #1F5478
tetradic
#781F54 #78701F #1F7843 #1F2778
square
#781F54 #78701F #1F7843 #1F2778
split-complementary
#781F54 #27781F #1F7870
monochromatic
#180611 #471232 #781F54 #A92C76 #CE4396

Accessibility & contrast

On white

9.89
#781F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F54
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F54#FFFFFF#000000##FFFFFF
##781F541.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781f54;
/* rgb */ color: rgb(120, 31, 84);
/* oklch */ color: oklch(40.1% 0.135 348.3);
Tailwind
colors: {
  custom: {
    50: '#a26384',
    500: '#781f54',
    950: '#000000',
  },
}
SCSS
$custom: #781f54;
$custom-light: #a26384;
$custom-dark: #000000;
JSON
{
  "hex": "#781f54",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 324.27,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40069,
    "c": 0.13456,
    "h": 348.3
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#781F54
secondary
#47AB70
accent
#E28546
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060A
muted
#7F7A7C

Preview Lab

Preview with #781F54

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

Preview Lab → · Contrast checker → · Palette generator →

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