#781F39#781F39

#781F39 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.1% C 0.124 H 7.6°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#781F39
RGBrgb(120, 31, 57)
HSLhsl(342, 59%, 30%)
HSVhsv(342, 74%, 47%)
CMYKcmyk(0%, 74.2%, 52.5%, 52.9%)
CIE-LABlab(27.49, 40.23, 6.27)
CIE-LCHlch(27.49, 40.72, 8.86°)
OKLaboklab(39.08% 0.1225 0.0163)
OKLCHoklch(39.08% 0.124 7.6)
XYZxyz(8.9750, 5.2697, 4.4146)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F39 #1F785E
analogous
#781F66 #781F39 #78321F
triadic
#781F39 #39781F #1F3978
tetradic
#781F39 #66781F #1F785E #321F78
square
#781F39 #66781F #1F785E #321F78
split-complementary
#781F39 #1F7832 #1F6678
monochromatic
#18060C #471222 #781F39 #A92C50 #CE436C

Accessibility & contrast

On white

10.23
#781F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#781F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F39
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F39#FFFFFF#000000##FFFFFF
##781F391.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363A
Deuteranopia (green-blind)
#4C4737
Tritanopia (blue-blind)
#830D2A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781f39;
/* rgb */ color: rgb(120, 31, 57);
/* oklch */ color: oklch(39.1% 0.124 7.6);
Tailwind
colors: {
  custom: {
    50: '#a4626f',
    500: '#781f39',
    950: '#000000',
  },
}
SCSS
$custom: #781f39;
$custom-light: #a4626f;
$custom-dark: #000000;
JSON
{
  "hex": "#781f39",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 342.472,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39083,
    "c": 0.1236,
    "h": 7.6
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#781F39
secondary
#47AB8E
accent
#E2B446
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #781F39

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

Preview Lab → · Contrast checker → · Palette generator →

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