#781F41#781F41

#781F41 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.3% C 0.126 H 1.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#781F41
RGBrgb(120, 31, 65)
HSLhsl(337, 59%, 30%)
HSVhsv(337, 74%, 47%)
CMYKcmyk(0%, 74.2%, 45.8%, 52.9%)
CIE-LABlab(27.73, 41.02, 1.23)
CIE-LCHlch(27.73, 41.04, 1.72°)
OKLaboklab(39.33% 0.1257 0.0037)
OKLCHoklch(39.33% 0.126 1.7)
XYZxyz(9.1905, 5.3559, 5.5498)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F41 #1F7856
analogous
#781F6D #781F41 #782A1F
triadic
#781F41 #41781F #1F4178
tetradic
#781F41 #6D781F #1F7856 #2A1F78
square
#781F41 #6D781F #1F7856 #2A1F78
split-complementary
#781F41 #1F782A #1F6D78
monochromatic
#18060D #471227 #781F41 #A92C5B #CE4378

Accessibility & contrast

On white

10.14
#781F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#781F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F41
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F41#FFFFFF#000000##FFFFFF
##781F411.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323642
Deuteranopia (green-blind)
#4A483F
Tritanopia (blue-blind)
#83122D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781f41;
/* rgb */ color: rgb(120, 31, 65);
/* oklch */ color: oklch(39.3% 0.126 1.7);
Tailwind
colors: {
  custom: {
    50: '#a36275',
    500: '#781f41',
    950: '#000000',
  },
}
SCSS
$custom: #781f41;
$custom-light: #a36275;
$custom-dark: #000000;
JSON
{
  "hex": "#781f41",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 337.079,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39334,
    "c": 0.12572,
    "h": 1.7
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#781F41
secondary
#47AB85
accent
#E2A646
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #781F41

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

Preview Lab → · Contrast checker → · Palette generator →

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