#781F5E#781F5E

#781F5E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.141 H 342.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#781F5E
RGBrgb(120, 31, 94)
HSLhsl(318, 59%, 30%)
HSVhsv(318, 74%, 47%)
CMYKcmyk(0%, 74.2%, 21.7%, 52.9%)
CIE-LABlab(28.86, 44.70, -16.27)
CIE-LCHlch(28.86, 47.57, 340.00°)
OKLaboklab(40.53% 0.134 -0.0437)
OKLCHoklch(40.53% 0.141 342)
XYZxyz(10.2564, 5.7822, 11.1634)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F5E #1F7839
analogous
#661F78 #781F5E #781F32
triadic
#781F5E #5E781F #1F5E78
tetradic
#781F5E #78661F #1F7839 #1F3278
square
#781F5E #78661F #1F7839 #1F3278
split-complementary
#781F5E #32781F #1F7866
monochromatic
#180613 #471238 #781F5E #A92C84 #CE43A6

Accessibility & contrast

On white

9.74
#781F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#781F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F5E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F5E#FFFFFF#000000##FFFFFF
##781F5E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B60
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#80203B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781f5e;
/* rgb */ color: rgb(120, 31, 94);
/* oklch */ color: oklch(40.5% 0.141 342.0);
Tailwind
colors: {
  custom: {
    50: '#a2638b',
    500: '#781f5e',
    950: '#000000',
  },
}
SCSS
$custom: #781f5e;
$custom-light: #a2638b;
$custom-dark: #000000;
JSON
{
  "hex": "#781f5e",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 317.528,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40533,
    "c": 0.14096,
    "h": 342
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#781F5E
secondary
#47AB65
accent
#E27346
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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