#781B47#781B47

#781B47 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.133 H 356.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#781B47
RGBrgb(120, 27, 71)
HSLhsl(332, 63%, 29%)
HSVhsv(332, 78%, 47%)
CMYKcmyk(0%, 77.5%, 40.8%, 52.9%)
CIE-LABlab(27.39, 43.18, -3.28)
CIE-LCHlch(27.39, 43.30, 355.65°)
OKLaboklab(39.15% 0.1326 -0.0081)
OKLCHoklch(39.15% 0.133 356.5)
XYZxyz(9.2756, 5.2330, 6.4816)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B47 #1B784C
analogous
#781B76 #781B47 #781E1B
triadic
#781B47 #47781B #1B4778
tetradic
#781B47 #76781B #1B784C #1E1B78
square
#781B47 #76781B #1B784C #1E1B78
split-complementary
#781B47 #1B781E #1B7678
monochromatic
#19060F #461029 #781B47 #AA2665 #D33B83

Accessibility & contrast

On white

10.26
#781B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#781B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B47
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B47#FFFFFF#000000##FFFFFF
##781B471.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3648
Deuteranopia (green-blind)
#484745
Tritanopia (blue-blind)
#820F2E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781b47;
/* rgb */ color: rgb(120, 27, 71);
/* oklch */ color: oklch(39.2% 0.133 356.5);
Tailwind
colors: {
  custom: {
    50: '#a3617a',
    500: '#781b47',
    950: '#000000',
  },
}
SCSS
$custom: #781b47;
$custom-light: #a3617a;
$custom-dark: #000000;
JSON
{
  "hex": "#781b47",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 331.613,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.13285,
    "h": 356.5
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#781B47
secondary
#43AC7A
accent
#E69841
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #781B47

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

Preview Lab → · Contrast checker → · Palette generator →

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