#781B62#781B62

#781B62 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.149 H 339.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#781B62
RGBrgb(120, 27, 98)
HSLhsl(314, 63%, 29%)
HSVhsv(314, 78%, 47%)
CMYKcmyk(0%, 77.5%, 18.3%, 52.9%)
CIE-LABlab(28.54, 46.74, -19.37)
CIE-LCHlch(28.54, 50.59, 337.49°)
OKLaboklab(40.36% 0.1391 -0.0524)
OKLCHoklch(40.36% 0.149 339.4)
XYZxyz(10.3425, 5.6598, 12.1007)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B62 #1B7831
analogous
#601B78 #781B62 #781B34
triadic
#781B62 #62781B #1B6278
tetradic
#781B62 #78601B #1B7831 #1B3478
square
#781B62 #78601B #1B7831 #1B3478
split-complementary
#781B62 #34781B #1B7860
monochromatic
#190614 #461039 #781B62 #AA268B #D33BAF

Accessibility & contrast

On white

9.85
#781B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#781B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B62
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B62#FFFFFF#000000##FFFFFF
##781B621.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A64
Deuteranopia (green-blind)
#404960
Tritanopia (blue-blind)
#7F1F3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781b62;
/* rgb */ color: rgb(120, 27, 98);
/* oklch */ color: oklch(40.4% 0.149 339.4);
Tailwind
colors: {
  custom: {
    50: '#a2628f',
    500: '#781b62',
    950: '#000000',
  },
}
SCSS
$custom: #781b62;
$custom-light: #a2628f;
$custom-dark: #000000;
JSON
{
  "hex": "#781b62",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 314.194,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40364,
    "c": 0.14861,
    "h": 339.4
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#781B62
secondary
#43AC5C
accent
#E66841
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781B62

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

Preview Lab → · Contrast checker → · Palette generator →

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