#781F52#781F52

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

Color values

HEX#781F52
RGBrgb(120, 31, 82)
HSLhsl(326, 59%, 30%)
HSVhsv(326, 74%, 47%)
CMYKcmyk(0%, 74.2%, 31.7%, 52.9%)
CIE-LABlab(28.34, 43.03, -9.19)
CIE-LCHlch(28.34, 44.00, 347.95°)
OKLaboklab(39.98% 0.1312 -0.024)
OKLCHoklch(39.98% 0.133 349.6)
XYZxyz(9.7592, 5.5833, 8.5448)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F52 #1F7845
analogous
#721F78 #781F52 #781F26
triadic
#781F52 #52781F #1F5278
tetradic
#781F52 #78721F #1F7845 #1F2678
square
#781F52 #78721F #1F7845 #1F2678
split-complementary
#781F52 #26781F #1F7872
monochromatic
#180611 #471231 #781F52 #A92C73 #CE4393

Accessibility & contrast

On white

9.92
#781F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F52
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F52#FFFFFF#000000##FFFFFF
##781F521.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#464950
Tritanopia (blue-blind)
#811A35
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781f52;
/* rgb */ color: rgb(120, 31, 82);
/* oklch */ color: oklch(40.0% 0.133 349.6);
Tailwind
colors: {
  custom: {
    50: '#a36382',
    500: '#781f52',
    950: '#000000',
  },
}
SCSS
$custom: #781f52;
$custom-light: #a36382;
$custom-dark: #000000;
JSON
{
  "hex": "#781f52",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 325.618,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.13342,
    "h": 349.6
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#781F52
secondary
#47AB72
accent
#E28846
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781F52

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

Preview Lab → · Contrast checker → · Palette generator →

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