#781D5D#781D5D

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

Color values

HEX#781D5D
RGBrgb(120, 29, 93)
HSLhsl(318, 61%, 29%)
HSVhsv(318, 76%, 47%)
CMYKcmyk(0%, 75.8%, 22.5%, 52.9%)
CIE-LABlab(28.55, 45.30, -16.09)
CIE-LCHlch(28.55, 48.07, 340.44°)
OKLaboklab(40.29% 0.1361 -0.0432)
OKLCHoklch(40.29% 0.143 342.4)
XYZxyz(10.1612, 5.6631, 10.9118)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D5D #1D7838
analogous
#661D78 #781D5D #781D30
triadic
#781D5D #5D781D #1D5D78
tetradic
#781D5D #78661D #1D7838 #1D3078
square
#781D5D #78661D #1D7838 #1D3078
split-complementary
#781D5D #30781D #1D7866
monochromatic
#190613 #471137 #781D5D #A92983 #D13FA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781D5D#FFFFFF#000000##FFFFFF
##781D5D1.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)
#263A5F
Deuteranopia (green-blind)
#42495B
Tritanopia (blue-blind)
#801E3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781d5d;
/* rgb */ color: rgb(120, 29, 93);
/* oklch */ color: oklch(40.3% 0.143 342.4);
Tailwind
colors: {
  custom: {
    50: '#a2638b',
    500: '#781d5d',
    950: '#000000',
  },
}
SCSS
$custom: #781d5d;
$custom-light: #a2638b;
$custom-dark: #000000;
JSON
{
  "hex": "#781d5d",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 317.802,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40292,
    "c": 0.14278,
    "h": 342.4
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#781D5D
secondary
#45AC63
accent
#E47344
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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