#781F68#781F68

#781F68 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.148 H 336.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#781F68
RGBrgb(120, 31, 104)
HSLhsl(311, 59%, 30%)
HSVhsv(311, 74%, 47%)
CMYKcmyk(0%, 74.2%, 13.3%, 52.9%)
CIE-LABlab(29.35, 46.23, -21.99)
CIE-LCHlch(29.35, 51.20, 334.56°)
OKLaboklab(41.05% 0.1355 -0.0599)
OKLCHoklch(41.05% 0.148 336.2)
XYZxyz(10.7346, 5.9735, 13.6817)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F68 #1F782F
analogous
#5C1F78 #781F68 #781F3B
triadic
#781F68 #68781F #1F6878
tetradic
#781F68 #785C1F #1F782F #1F3B78
square
#781F68 #785C1F #1F782F #1F3B78
split-complementary
#781F68 #3B781F #1F785C
monochromatic
#180615 #47123E #781F68 #A92C92 #CE43B5

Accessibility & contrast

On white

9.57
#781F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F68
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F68#FFFFFF#000000##FFFFFF
##781F681.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6A
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#7E2541
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781f68;
/* rgb */ color: rgb(120, 31, 104);
/* oklch */ color: oklch(41.0% 0.148 336.2);
Tailwind
colors: {
  custom: {
    50: '#a26493',
    500: '#781f68',
    950: '#000000',
  },
}
SCSS
$custom: #781f68;
$custom-light: #a26493;
$custom-dark: #000000;
JSON
{
  "hex": "#781f68",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 310.787,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41047,
    "c": 0.14819,
    "h": 336.2
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#781F68
secondary
#47AB59
accent
#E26246
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #781F68

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

Preview Lab → · Contrast checker → · Palette generator →

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