#781F4F#781F4F

#781F4F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.132 H 351.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#781F4F
RGBrgb(120, 31, 79)
HSLhsl(328, 59%, 30%)
HSVhsv(328, 74%, 47%)
CMYKcmyk(0%, 74.2%, 34.2%, 52.9%)
CIE-LABlab(28.22, 42.64, -7.38)
CIE-LCHlch(28.22, 43.28, 350.18°)
OKLaboklab(39.86% 0.1304 -0.0191)
OKLCHoklch(39.86% 0.132 351.7)
XYZxyz(9.6475, 5.5387, 7.9566)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F4F #1F7848
analogous
#741F78 #781F4F #781F23
triadic
#781F4F #4F781F #1F4F78
tetradic
#781F4F #78741F #1F7848 #1F2378
square
#781F4F #78741F #1F7848 #1F2378
split-complementary
#781F4F #23781F #1F7874
monochromatic
#180610 #47122F #781F4F #A92C6F #CE438E

Accessibility & contrast

On white

9.96
#781F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#781F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F4F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F4F#FFFFFF#000000##FFFFFF
##781F4F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3850
Deuteranopia (green-blind)
#47484D
Tritanopia (blue-blind)
#811934
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781f4f;
/* rgb */ color: rgb(120, 31, 79);
/* oklch */ color: oklch(39.9% 0.132 351.7);
Tailwind
colors: {
  custom: {
    50: '#a36380',
    500: '#781f4f',
    950: '#000000',
  },
}
SCSS
$custom: #781f4f;
$custom-light: #a36380;
$custom-dark: #000000;
JSON
{
  "hex": "#781f4f",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 327.64,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39857,
    "c": 0.13178,
    "h": 351.7
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#781F4F
secondary
#47AB75
accent
#E28E46
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #781F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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