#781B39#781B39

#781B39 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.7% C 0.128 H 6.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#781B39
RGBrgb(120, 27, 57)
HSLhsl(341, 63%, 29%)
HSVhsv(341, 78%, 47%)
CMYKcmyk(0%, 77.5%, 52.5%, 52.9%)
CIE-LABlab(26.94, 41.75, 5.50)
CIE-LCHlch(26.94, 42.11, 7.51°)
OKLaboklab(38.68% 0.1274 0.0143)
OKLCHoklch(38.68% 0.128 6.4)
XYZxyz(8.8770, 5.0736, 4.3820)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B39 #1B785A
analogous
#781B68 #781B39 #782C1B
triadic
#781B39 #39781B #1B3978
tetradic
#781B39 #68781B #1B785A #2C1B78
square
#781B39 #68781B #1B785A #2C1B78
split-complementary
#781B39 #1B782C #1B6878
monochromatic
#19060C #461021 #781B39 #AA2651 #D33B6C

Accessibility & contrast

On white

10.42
#781B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B39
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B39#FFFFFF#000000##FFFFFF
##781B391.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343A
Deuteranopia (green-blind)
#4A4637
Tritanopia (blue-blind)
#830528
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781b39;
/* rgb */ color: rgb(120, 27, 57);
/* oklch */ color: oklch(38.7% 0.128 6.4);
Tailwind
colors: {
  custom: {
    50: '#a4606f',
    500: '#781b39',
    950: '#000000',
  },
}
SCSS
$custom: #781b39;
$custom-light: #a4606f;
$custom-dark: #000000;
JSON
{
  "hex": "#781b39",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 340.645,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38679,
    "c": 0.12822,
    "h": 6.4
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#781B39
secondary
#43AC8A
accent
#E6B141
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #781B39

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

Preview Lab → · Contrast checker → · Palette generator →

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