#781F4C#781F4C

#781F4C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 353.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#781F4C
RGBrgb(120, 31, 76)
HSLhsl(330, 59%, 30%)
HSVhsv(330, 74%, 47%)
CMYKcmyk(0%, 74.2%, 36.7%, 52.9%)
CIE-LABlab(28.10, 42.27, -5.56)
CIE-LCHlch(28.10, 42.64, 352.51°)
OKLaboklab(39.74% 0.1295 -0.0142)
OKLCHoklch(39.74% 0.13 353.8)
XYZxyz(9.5408, 5.4960, 7.3945)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F4C #1F784B
analogous
#781F78 #781F4C #781F20
triadic
#781F4C #4C781F #1F4C78
tetradic
#781F4C #78781F #1F784B #1F2078
square
#781F4C #78781F #1F784B #1F2078
split-complementary
#781F4C #20781F #1F7878
monochromatic
#18060F #47122D #781F4C #A92C6B #CE4389

Accessibility & contrast

On white

10.00
#781F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F4C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F4C#FFFFFF#000000##FFFFFF
##781F4C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384D
Deuteranopia (green-blind)
#48484A
Tritanopia (blue-blind)
#821732
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781f4c;
/* rgb */ color: rgb(120, 31, 76);
/* oklch */ color: oklch(39.7% 0.130 353.8);
Tailwind
colors: {
  custom: {
    50: '#a3637e',
    500: '#781f4c',
    950: '#000000',
  },
}
SCSS
$custom: #781f4c;
$custom-light: #a3637e;
$custom-dark: #000000;
JSON
{
  "hex": "#781f4c",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 329.663,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.13025,
    "h": 353.8
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#781F4C
secondary
#47AB79
accent
#E29346
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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