#781B64#781B64

#781B64 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.150 H 338.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#781B64
RGBrgb(120, 27, 100)
HSLhsl(313, 63%, 29%)
HSVhsv(313, 78%, 47%)
CMYKcmyk(0%, 77.5%, 16.7%, 52.9%)
CIE-LABlab(28.64, 47.04, -20.51)
CIE-LCHlch(28.64, 51.32, 336.44°)
OKLaboklab(40.47% 0.1393 -0.0556)
OKLCHoklch(40.47% 0.15 338.2)
XYZxyz(10.4381, 5.6980, 12.6042)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B64 #1B782F
analogous
#5E1B78 #781B64 #781B36
triadic
#781B64 #64781B #1B6478
tetradic
#781B64 #785E1B #1B782F #1B3678
square
#781B64 #785E1B #1B782F #1B3678
split-complementary
#781B64 #36781B #1B785E
monochromatic
#190615 #46103A #781B64 #AA268E #D33BB2

Accessibility & contrast

On white

9.82
#781B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#781B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B64
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B64#FFFFFF#000000##FFFFFF
##781B641.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A66
Deuteranopia (green-blind)
#3F4962
Tritanopia (blue-blind)
#7F203D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781b64;
/* rgb */ color: rgb(120, 27, 100);
/* oklch */ color: oklch(40.5% 0.150 338.2);
Tailwind
colors: {
  custom: {
    50: '#a26290',
    500: '#781b64',
    950: '#000000',
  },
}
SCSS
$custom: #781b64;
$custom-light: #a26290;
$custom-dark: #000000;
JSON
{
  "hex": "#781b64",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 312.903,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.15003,
    "h": 338.2
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#781B64
secondary
#43AC59
accent
#E66541
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781B64

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

Preview Lab → · Contrast checker → · Palette generator →

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