#781F5C#781F5C

#781F5C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.140 H 343.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#781F5C
RGBrgb(120, 31, 92)
HSLhsl(319, 59%, 30%)
HSVhsv(319, 74%, 47%)
CMYKcmyk(0%, 74.2%, 23.3%, 52.9%)
CIE-LABlab(28.76, 44.41, -15.10)
CIE-LCHlch(28.76, 46.90, 341.21°)
OKLaboklab(40.44% 0.1336 -0.0404)
OKLCHoklch(40.44% 0.14 343.2)
XYZxyz(10.1678, 5.7468, 10.6969)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F5C #1F783B
analogous
#671F78 #781F5C #781F30
triadic
#781F5C #5C781F #1F5C78
tetradic
#781F5C #78671F #1F783B #1F3078
square
#781F5C #78671F #1F783B #1F3078
split-complementary
#781F5C #30781F #1F7867
monochromatic
#180613 #471237 #781F5C #A92C81 #CE43A3

Accessibility & contrast

On white

9.77
#781F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F5C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F5C#FFFFFF#000000##FFFFFF
##781F5C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#801F3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781f5c;
/* rgb */ color: rgb(120, 31, 92);
/* oklch */ color: oklch(40.4% 0.140 343.2);
Tailwind
colors: {
  custom: {
    50: '#a2638a',
    500: '#781f5c',
    950: '#000000',
  },
}
SCSS
$custom: #781f5c;
$custom-light: #a2638a;
$custom-dark: #000000;
JSON
{
  "hex": "#781f5c",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 318.876,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40436,
    "c": 0.1396,
    "h": 343.2
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#781F5C
secondary
#47AB67
accent
#E27746
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #781F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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