#781B4E#781B4E

#781B4E is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.136 H 351.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#781B4E
RGBrgb(120, 27, 78)
HSLhsl(327, 63%, 29%)
HSVhsv(327, 78%, 47%)
CMYKcmyk(0%, 77.5%, 35%, 52.9%)
CIE-LABlab(27.65, 44.00, -7.57)
CIE-LCHlch(27.65, 44.65, 350.24°)
OKLaboklab(39.43% 0.1348 -0.0196)
OKLCHoklch(39.43% 0.136 351.7)
XYZxyz(9.5134, 5.3281, 7.7337)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B4E #1B7845
analogous
#741B78 #781B4E #781B20
triadic
#781B4E #4E781B #1B4E78
tetradic
#781B4E #78741B #1B7845 #1B2078
square
#781B4E #78741B #1B7845 #1B2078
split-complementary
#781B4E #20781B #1B7874
monochromatic
#190610 #46102E #781B4E #AA266E #D33B8E

Accessibility & contrast

On white

10.17
#781B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#781B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B4E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B4E#FFFFFF#000000##FFFFFF
##781B4E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B374F
Deuteranopia (green-blind)
#46474C
Tritanopia (blue-blind)
#811332
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781b4e;
/* rgb */ color: rgb(120, 27, 78);
/* oklch */ color: oklch(39.4% 0.136 351.7);
Tailwind
colors: {
  custom: {
    50: '#a3617f',
    500: '#781b4e',
    950: '#000000',
  },
}
SCSS
$custom: #781b4e;
$custom-light: #a3617f;
$custom-dark: #000000;
JSON
{
  "hex": "#781b4e",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 327.097,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.13618,
    "h": 351.7
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#781B4E
secondary
#43AC72
accent
#E68C41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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