#781F66#781F66

#781F66 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.147 H 337.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#781F66
RGBrgb(120, 31, 102)
HSLhsl(312, 59%, 30%)
HSVhsv(312, 74%, 47%)
CMYKcmyk(0%, 74.2%, 15%, 52.9%)
CIE-LABlab(29.24, 45.92, -20.86)
CIE-LCHlch(29.24, 50.43, 335.57°)
OKLaboklab(40.94% 0.1353 -0.0567)
OKLCHoklch(40.94% 0.147 337.3)
XYZxyz(10.6342, 5.9333, 13.1530)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F66 #1F7831
analogous
#5E1F78 #781F66 #781F3A
triadic
#781F66 #66781F #1F6678
tetradic
#781F66 #785E1F #1F7831 #1F3A78
square
#781F66 #785E1F #1F7831 #1F3A78
split-complementary
#781F66 #3A781F #1F785E
monochromatic
#180615 #47123D #781F66 #A92C8F #CE43B2

Accessibility & contrast

On white

9.60
#781F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#781F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F66
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F66#FFFFFF#000000##FFFFFF
##781F661.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C68
Deuteranopia (green-blind)
#404A64
Tritanopia (blue-blind)
#7F2440
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781f66;
/* rgb */ color: rgb(120, 31, 102);
/* oklch */ color: oklch(40.9% 0.147 337.3);
Tailwind
colors: {
  custom: {
    50: '#a26492',
    500: '#781f66',
    950: '#000000',
  },
}
SCSS
$custom: #781f66;
$custom-light: #a26492;
$custom-dark: #000000;
JSON
{
  "hex": "#781f66",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 312.135,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4094,
    "c": 0.14669,
    "h": 337.3
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#781F66
secondary
#47AB5C
accent
#E26546
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060D
muted
#7F7A7D

Preview Lab

Preview with #781F66

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

Preview Lab → · Contrast checker → · Palette generator →

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