#781B42#781B42

#781B42 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.131 H 0.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#781B42
RGBrgb(120, 27, 66)
HSLhsl(335, 63%, 29%)
HSVhsv(335, 78%, 47%)
CMYKcmyk(0%, 77.5%, 45%, 52.9%)
CIE-LABlab(27.22, 42.64, -0.18)
CIE-LCHlch(27.22, 42.64, 359.76°)
OKLaboklab(38.97% 0.1309 0)
OKLCHoklch(38.97% 0.131 0)
XYZxyz(9.1217, 5.1715, 5.6710)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B42 #1B7851
analogous
#781B71 #781B42 #78231B
triadic
#781B42 #42781B #1B4278
tetradic
#781B42 #71781B #1B7851 #231B78
square
#781B42 #71781B #1B7851 #231B78
split-complementary
#781B42 #1B7823 #1B7178
monochromatic
#19060E #461027 #781B42 #AA265D #D33B7A

Accessibility & contrast

On white

10.32
#781B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B42
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B42#FFFFFF#000000##FFFFFF
##781B421.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#830C2C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781b42;
/* rgb */ color: rgb(120, 27, 66);
/* oklch */ color: oklch(39.0% 0.131 0.0);
Tailwind
colors: {
  custom: {
    50: '#a36176',
    500: '#781b42',
    950: '#000000',
  },
}
SCSS
$custom: #781b42;
$custom-light: #a36176;
$custom-dark: #000000;
JSON
{
  "hex": "#781b42",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 334.839,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38971,
    "c": 0.13086,
    "h": 0
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#781B42
secondary
#43AC80
accent
#E6A141
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781B42

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

Preview Lab → · Contrast checker → · Palette generator →

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