#781E48#781E48

#781E48 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.130 H 356.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#781E48
RGBrgb(120, 30, 72)
HSLhsl(332, 60%, 29%)
HSVhsv(332, 75%, 47%)
CMYKcmyk(0%, 75%, 40%, 52.9%)
CIE-LABlab(27.82, 42.18, -3.31)
CIE-LCHlch(27.82, 42.31, 355.51°)
OKLaboklab(39.48% 0.1294 -0.0082)
OKLCHoklch(39.48% 0.13 356.4)
XYZxyz(9.3803, 5.3906, 6.6762)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E48 #1E784E
analogous
#781E75 #781E48 #78211E
triadic
#781E48 #48781E #1E4878
tetradic
#781E48 #75781E #1E784E #211E78
square
#781E48 #75781E #1E784E #211E78
split-complementary
#781E48 #1E7821 #1E7578
monochromatic
#18060F #47122B #781E48 #A92A65 #CF4183

Accessibility & contrast

On white

10.11
#781E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#781E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E48
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E48#FFFFFF#000000##FFFFFF
##781E481.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303749
Deuteranopia (green-blind)
#484846
Tritanopia (blue-blind)
#821430
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781e48;
/* rgb */ color: rgb(120, 30, 72);
/* oklch */ color: oklch(39.5% 0.130 356.4);
Tailwind
colors: {
  custom: {
    50: '#a3627a',
    500: '#781e48',
    950: '#000000',
  },
}
SCSS
$custom: #781e48;
$custom-light: #a3627a;
$custom-dark: #000000;
JSON
{
  "hex": "#781e48",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 332,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.12966,
    "h": 356.4
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#781E48
secondary
#46AC7C
accent
#E39945
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781E48

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

Preview Lab → · Contrast checker → · Palette generator →

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