#781F40#781F40

#781F40 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.125 H 2.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#781F40
RGBrgb(120, 31, 64)
HSLhsl(338, 59%, 30%)
HSVhsv(338, 74%, 47%)
CMYKcmyk(0%, 74.2%, 46.7%, 52.9%)
CIE-LABlab(27.69, 40.92, 1.86)
CIE-LCHlch(27.69, 40.96, 2.60°)
OKLaboklab(39.3% 0.1253 0.0053)
OKLCHoklch(39.3% 0.125 2.4)
XYZxyz(9.1618, 5.3444, 5.3986)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F40 #1F7857
analogous
#781F6D #781F40 #782B1F
triadic
#781F40 #40781F #1F4078
tetradic
#781F40 #6D781F #1F7857 #2B1F78
square
#781F40 #6D781F #1F7857 #2B1F78
split-complementary
#781F40 #1F782B #1F6D78
monochromatic
#18060D #471226 #781F40 #A92C5A #CE4377

Accessibility & contrast

On white

10.15
#781F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F40
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F40#FFFFFF#000000##FFFFFF
##781F401.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333641
Deuteranopia (green-blind)
#4A483E
Tritanopia (blue-blind)
#83112D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781f40;
/* rgb */ color: rgb(120, 31, 64);
/* oklch */ color: oklch(39.3% 0.125 2.4);
Tailwind
colors: {
  custom: {
    50: '#a36274',
    500: '#781f40',
    950: '#000000',
  },
}
SCSS
$custom: #781f40;
$custom-light: #a36274;
$custom-dark: #000000;
JSON
{
  "hex": "#781f40",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 337.753,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39301,
    "c": 0.12541,
    "h": 2.4
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#781F40
secondary
#47AB86
accent
#E2A846
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #781F40

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

Preview Lab → · Contrast checker → · Palette generator →

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