#781D4E#781D4E

#781D4E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.134 H 352.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#781D4E
RGBrgb(120, 29, 78)
HSLhsl(328, 61%, 29%)
HSVhsv(328, 76%, 47%)
CMYKcmyk(0%, 75.8%, 35%, 52.9%)
CIE-LABlab(27.91, 43.28, -7.18)
CIE-LCHlch(27.91, 43.87, 350.58°)
OKLaboklab(39.62% 0.1325 -0.0185)
OKLCHoklch(39.62% 0.134 352)
XYZxyz(9.5608, 5.4230, 7.7495)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D4E #1D7847
analogous
#751D78 #781D4E #781D21
triadic
#781D4E #4E781D #1D4E78
tetradic
#781D4E #78751D #1D7847 #1D2178
square
#781D4E #78751D #1D7847 #1D2178
split-complementary
#781D4E #21781D #1D7875
monochromatic
#190610 #47112E #781D4E #A9296E #D13F8D

Accessibility & contrast

On white

10.07
#781D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#781D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D4E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D4E#FFFFFF#000000##FFFFFF
##781D4E1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374F
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#811633
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781d4e;
/* rgb */ color: rgb(120, 29, 78);
/* oklch */ color: oklch(39.6% 0.134 352.0);
Tailwind
colors: {
  custom: {
    50: '#a3627f',
    500: '#781d4e',
    950: '#000000',
  },
}
SCSS
$custom: #781d4e;
$custom-light: #a3627f;
$custom-dark: #000000;
JSON
{
  "hex": "#781d4e",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 327.692,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39617,
    "c": 0.13377,
    "h": 352
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#781D4E
secondary
#45AC74
accent
#E48E44
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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