#781B40#781B40

#781B40 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.130 H 1.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#781B40
RGBrgb(120, 27, 64)
HSLhsl(336, 63%, 29%)
HSVhsv(336, 78%, 47%)
CMYKcmyk(0%, 77.5%, 46.7%, 52.9%)
CIE-LABlab(27.15, 42.43, 1.08)
CIE-LCHlch(27.15, 42.44, 1.45°)
OKLaboklab(38.9% 0.1301 0.0033)
OKLCHoklch(38.9% 0.13 1.4)
XYZxyz(9.0638, 5.1483, 5.3659)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B40 #1B7853
analogous
#781B6F #781B40 #78251B
triadic
#781B40 #40781B #1B4078
tetradic
#781B40 #6F781B #1B7853 #251B78
square
#781B40 #6F781B #1B7853 #251B78
split-complementary
#781B40 #1B7825 #1B6F78
monochromatic
#19060D #461025 #781B40 #AA265B #D33B77

Accessibility & contrast

On white

10.35
#781B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#781B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B40
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B40#FFFFFF#000000##FFFFFF
##781B401.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#830A2B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781b40;
/* rgb */ color: rgb(120, 27, 64);
/* oklch */ color: oklch(38.9% 0.130 1.4);
Tailwind
colors: {
  custom: {
    50: '#a46174',
    500: '#781b40',
    950: '#000000',
  },
}
SCSS
$custom: #781b40;
$custom-light: #a46174;
$custom-dark: #000000;
JSON
{
  "hex": "#781b40",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 336.129,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38902,
    "c": 0.13017,
    "h": 1.4
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#781B40
secondary
#43AC82
accent
#E6A541
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781B40

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

Preview Lab → · Contrast checker → · Palette generator →

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