#781B48#781B48

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

Color values

HEX#781B48
RGBrgb(120, 27, 72)
HSLhsl(331, 63%, 29%)
HSVhsv(331, 78%, 47%)
CMYKcmyk(0%, 77.5%, 40%, 52.9%)
CIE-LABlab(27.42, 43.29, -3.90)
CIE-LCHlch(27.42, 43.47, 354.85°)
OKLaboklab(39.19% 0.1329 -0.0097)
OKLCHoklch(39.19% 0.133 355.8)
XYZxyz(9.3080, 5.2460, 6.6520)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B48 #1B784B
analogous
#781B77 #781B48 #781D1B
triadic
#781B48 #48781B #1B4878
tetradic
#781B48 #77781B #1B784B #1D1B78
square
#781B48 #77781B #1B784B #1D1B78
split-complementary
#781B48 #1B781D #1B7778
monochromatic
#19060F #46102A #781B48 #AA2666 #D33B84

Accessibility & contrast

On white

10.25
#781B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B48
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B48#FFFFFF#000000##FFFFFF
##781B481.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#474746
Tritanopia (blue-blind)
#82102F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781b48;
/* rgb */ color: rgb(120, 27, 72);
/* oklch */ color: oklch(39.2% 0.133 355.8);
Tailwind
colors: {
  custom: {
    50: '#a3617a',
    500: '#781b48',
    950: '#000000',
  },
}
SCSS
$custom: #781b48;
$custom-light: #a3617a;
$custom-dark: #000000;
JSON
{
  "hex": "#781b48",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 330.968,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.13329,
    "h": 355.8
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#781B48
secondary
#43AC79
accent
#E69741
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #781B48

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

Preview Lab → · Contrast checker → · Palette generator →

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