#781B3A#781B3A

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

Color values

HEX#781B3A
RGBrgb(120, 27, 58)
HSLhsl(340, 63%, 29%)
HSVhsv(340, 78%, 47%)
CMYKcmyk(0%, 77.5%, 51.7%, 52.9%)
CIE-LABlab(26.97, 41.85, 4.87)
CIE-LCHlch(26.97, 42.13, 6.63°)
OKLaboklab(38.71% 0.1278 0.0128)
OKLCHoklch(38.71% 0.128 5.7)
XYZxyz(8.9022, 5.0836, 4.5146)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B3A #1B7859
analogous
#781B69 #781B3A #782B1B
triadic
#781B3A #3A781B #1B3A78
tetradic
#781B3A #69781B #1B7859 #2B1B78
square
#781B3A #69781B #1B7859 #2B1B78
split-complementary
#781B3A #1B782B #1B6978
monochromatic
#19060C #461022 #781B3A #AA2652 #D33B6D

Accessibility & contrast

On white

10.41
#781B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#781B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B3A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B3A#FFFFFF#000000##FFFFFF
##781B3A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343B
Deuteranopia (green-blind)
#4A4638
Tritanopia (blue-blind)
#830628
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781b3a;
/* rgb */ color: rgb(120, 27, 58);
/* oklch */ color: oklch(38.7% 0.128 5.7);
Tailwind
colors: {
  custom: {
    50: '#a4606f',
    500: '#781b3a',
    950: '#000000',
  },
}
SCSS
$custom: #781b3a;
$custom-light: #a4606f;
$custom-dark: #000000;
JSON
{
  "hex": "#781b3a",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 340,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38709,
    "c": 0.12846,
    "h": 5.7
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#781B3A
secondary
#43AC89
accent
#E6AF41
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #781B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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