#781B5E#781B5E

#781B5E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.146 H 341.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#781B5E
RGBrgb(120, 27, 94)
HSLhsl(317, 63%, 29%)
HSVhsv(317, 78%, 47%)
CMYKcmyk(0%, 77.5%, 21.7%, 52.9%)
CIE-LABlab(28.34, 46.15, -17.06)
CIE-LCHlch(28.34, 49.20, 339.71°)
OKLaboklab(40.16% 0.1384 -0.0459)
OKLCHoklch(40.16% 0.146 341.7)
XYZxyz(10.1584, 5.5861, 11.1308)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B5E #1B7835
analogous
#641B78 #781B5E #781B30
triadic
#781B5E #5E781B #1B5E78
tetradic
#781B5E #78641B #1B7835 #1B3078
square
#781B5E #78641B #1B7835 #1B3078
split-complementary
#781B5E #30781B #1B7864
monochromatic
#190614 #461037 #781B5E #AA2685 #D33BA8

Accessibility & contrast

On white

9.92
#781B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B5E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B5E#FFFFFF#000000##FFFFFF
##781B5E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#41485C
Tritanopia (blue-blind)
#801D3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781b5e;
/* rgb */ color: rgb(120, 27, 94);
/* oklch */ color: oklch(40.2% 0.146 341.7);
Tailwind
colors: {
  custom: {
    50: '#a2628c',
    500: '#781b5e',
    950: '#000000',
  },
}
SCSS
$custom: #781b5e;
$custom-light: #a2628c;
$custom-dark: #000000;
JSON
{
  "hex": "#781b5e",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 316.774,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.14584,
    "h": 341.7
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#781B5E
secondary
#43AC60
accent
#E67041
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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