#781B63#781B63

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

Color values

HEX#781B63
RGBrgb(120, 27, 99)
HSLhsl(314, 63%, 29%)
HSVhsv(314, 78%, 47%)
CMYKcmyk(0%, 77.5%, 17.5%, 52.9%)
CIE-LABlab(28.59, 46.89, -19.94)
CIE-LCHlch(28.59, 50.95, 336.96°)
OKLaboklab(40.42% 0.1392 -0.054)
OKLCHoklch(40.42% 0.149 338.8)
XYZxyz(10.3900, 5.6788, 12.3509)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B63 #1B7830
analogous
#5F1B78 #781B63 #781B35
triadic
#781B63 #63781B #1B6378
tetradic
#781B63 #785F1B #1B7830 #1B3578
square
#781B63 #785F1B #1B7830 #1B3578
split-complementary
#781B63 #35781B #1B785F
monochromatic
#190615 #46103A #781B63 #AA268C #D33BB0

Accessibility & contrast

On white

9.83
#781B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B63
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B63#FFFFFF#000000##FFFFFF
##781B631.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A65
Deuteranopia (green-blind)
#3F4961
Tritanopia (blue-blind)
#7F1F3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781b63;
/* rgb */ color: rgb(120, 27, 99);
/* oklch */ color: oklch(40.4% 0.149 338.8);
Tailwind
colors: {
  custom: {
    50: '#a2628f',
    500: '#781b63',
    950: '#000000',
  },
}
SCSS
$custom: #781b63;
$custom-light: #a2628f;
$custom-dark: #000000;
JSON
{
  "hex": "#781b63",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 313.548,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.14931,
    "h": 338.8
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#781B63
secondary
#43AC5A
accent
#E66741
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781B63

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

Preview Lab → · Contrast checker → · Palette generator →

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