#781B68#781B68

#781B68 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.153 H 336.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#781B68
RGBrgb(120, 27, 104)
HSLhsl(310, 63%, 29%)
HSVhsv(310, 78%, 47%)
CMYKcmyk(0%, 77.5%, 13.3%, 52.9%)
CIE-LABlab(28.84, 47.66, -22.78)
CIE-LCHlch(28.84, 52.82, 334.45°)
OKLaboklab(40.69% 0.1398 -0.0621)
OKLCHoklch(40.69% 0.153 336)
XYZxyz(10.6365, 5.7774, 13.6490)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B68 #1B782B
analogous
#5A1B78 #781B68 #781B3A
triadic
#781B68 #68781B #1B6878
tetradic
#781B68 #785A1B #1B782B #1B3A78
square
#781B68 #785A1B #1B782B #1B3A78
split-complementary
#781B68 #3A781B #1B785A
monochromatic
#190616 #46103D #781B68 #AA2693 #D33BB9

Accessibility & contrast

On white

9.74
#781B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#781B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B68
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B68#FFFFFF#000000##FFFFFF
##781B681.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3B6A
Deuteranopia (green-blind)
#3D4966
Tritanopia (blue-blind)
#7E2240
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781b68;
/* rgb */ color: rgb(120, 27, 104);
/* oklch */ color: oklch(40.7% 0.153 336.0);
Tailwind
colors: {
  custom: {
    50: '#a26293',
    500: '#781b68',
    950: '#000000',
  },
}
SCSS
$custom: #781b68;
$custom-light: #a26293;
$custom-dark: #000000;
JSON
{
  "hex": "#781b68",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 310.323,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.15296,
    "h": 336
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#781B68
secondary
#43AC55
accent
#E65E41
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781B68

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

Preview Lab → · Contrast checker → · Palette generator →

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