#781B54#781B54

#781B54 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.140 H 347.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#781B54
RGBrgb(120, 27, 84)
HSLhsl(323, 63%, 29%)
HSVhsv(323, 78%, 47%)
CMYKcmyk(0%, 77.5%, 30%, 52.9%)
CIE-LABlab(27.89, 44.77, -11.18)
CIE-LCHlch(27.89, 46.14, 345.98°)
OKLaboklab(39.69% 0.1364 -0.0294)
OKLCHoklch(39.69% 0.14 347.8)
XYZxyz(9.7384, 5.4181, 8.9187)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B54 #1B783F
analogous
#6E1B78 #781B54 #781B26
triadic
#781B54 #54781B #1B5478
tetradic
#781B54 #786E1B #1B783F #1B2678
square
#781B54 #786E1B #1B783F #1B2678
split-complementary
#781B54 #26781B #1B786E
monochromatic
#190611 #461031 #781B54 #AA2677 #D33B98

Accessibility & contrast

On white

10.08
#781B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B54
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B54#FFFFFF#000000##FFFFFF
##781B541.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293856
Deuteranopia (green-blind)
#444852
Tritanopia (blue-blind)
#811735
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781b54;
/* rgb */ color: rgb(120, 27, 84);
/* oklch */ color: oklch(39.7% 0.140 347.8);
Tailwind
colors: {
  custom: {
    50: '#a36184',
    500: '#781b54',
    950: '#000000',
  },
}
SCSS
$custom: #781b54;
$custom-light: #a36184;
$custom-dark: #000000;
JSON
{
  "hex": "#781b54",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 84
  },
  "hsl": {
    "h": 323.226,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.1395,
    "h": 347.8
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#781B54
secondary
#43AC6B
accent
#E68141
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781B54

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

Preview Lab → · Contrast checker → · Palette generator →

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