#781E4B#781E4B

#781E4B is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.131 H 354.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#781E4B
RGBrgb(120, 30, 75)
HSLhsl(330, 60%, 29%)
HSVhsv(330, 75%, 47%)
CMYKcmyk(0%, 75%, 37.5%, 52.9%)
CIE-LABlab(27.93, 42.54, -5.15)
CIE-LCHlch(27.93, 42.85, 353.09°)
OKLaboklab(39.6% 0.1304 -0.0131)
OKLCHoklch(39.6% 0.131 354.3)
XYZxyz(9.4806, 5.4307, 7.2042)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E4B #1E784B
analogous
#781E78 #781E4B #781E1E
triadic
#781E4B #4B781E #1E4B78
tetradic
#781E4B #78781E #1E784B #1E1E78
square
#781E4B #78781E #1E784B #1E1E78
split-complementary
#781E4B #1E781E #1E7878
monochromatic
#18060F #47122C #781E4B #A92A6A #CF4188

Accessibility & contrast

On white

10.07
#781E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E4B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E4B#FFFFFF#000000##FFFFFF
##781E4B1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374C
Deuteranopia (green-blind)
#484849
Tritanopia (blue-blind)
#821531
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781e4b;
/* rgb */ color: rgb(120, 30, 75);
/* oklch */ color: oklch(39.6% 0.131 354.3);
Tailwind
colors: {
  custom: {
    50: '#a3627d',
    500: '#781e4b',
    950: '#000000',
  },
}
SCSS
$custom: #781e4b;
$custom-light: #a3627d;
$custom-dark: #000000;
JSON
{
  "hex": "#781e4b",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 330,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39596,
    "c": 0.13103,
    "h": 354.3
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#781E4B
secondary
#46AC79
accent
#E39445
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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