#781F61#781F61

#781F61 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.143 H 340.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#781F61
RGBrgb(120, 31, 97)
HSLhsl(316, 59%, 30%)
HSVhsv(316, 74%, 47%)
CMYKcmyk(0%, 74.2%, 19.2%, 52.9%)
CIE-LABlab(29.00, 45.14, -18.00)
CIE-LCHlch(29.00, 48.60, 338.26°)
OKLaboklab(40.68% 0.1346 -0.0486)
OKLCHoklch(40.68% 0.143 340.2)
XYZxyz(10.3937, 5.8371, 11.8862)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F61 #1F7836
analogous
#631F78 #781F61 #781F34
triadic
#781F61 #61781F #1F6178
tetradic
#781F61 #78631F #1F7836 #1F3478
square
#781F61 #78631F #1F7836 #1F3478
split-complementary
#781F61 #34781F #1F7863
monochromatic
#180614 #47123A #781F61 #A92C88 #CE43AA

Accessibility & contrast

On white

9.69
#781F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#781F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F61
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F61#FFFFFF#000000##FFFFFF
##781F611.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253B63
Deuteranopia (green-blind)
#41495F
Tritanopia (blue-blind)
#7F223D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781f61;
/* rgb */ color: rgb(120, 31, 97);
/* oklch */ color: oklch(40.7% 0.143 340.2);
Tailwind
colors: {
  custom: {
    50: '#a2648e',
    500: '#781f61',
    950: '#000000',
  },
}
SCSS
$custom: #781f61;
$custom-light: #a2648e;
$custom-dark: #000000;
JSON
{
  "hex": "#781f61",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 97
  },
  "hsl": {
    "h": 315.506,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.14304,
    "h": 340.2
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#781F61
secondary
#47AB61
accent
#E26E46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781F61

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

Preview Lab → · Contrast checker → · Palette generator →

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