#781C3A#781C3A

#781C3A is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.127 H 6.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#781C3A
RGBrgb(120, 28, 58)
HSLhsl(340, 62%, 29%)
HSVhsv(340, 77%, 47%)
CMYKcmyk(0%, 76.7%, 51.7%, 52.9%)
CIE-LABlab(27.10, 41.48, 5.05)
CIE-LCHlch(27.10, 41.78, 6.95°)
OKLaboklab(38.81% 0.1266 0.0132)
OKLCHoklch(38.81% 0.127 6)
XYZxyz(8.9255, 5.1303, 4.5224)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C3A #1C785A
analogous
#781C68 #781C3A #782C1C
triadic
#781C3A #3A781C #1C3A78
tetradic
#781C3A #68781C #1C785A #2C1C78
square
#781C3A #68781C #1C785A #2C1C78
split-complementary
#781C3A #1C782C #1C6878
monochromatic
#19060C #461022 #781C3A #AA2852 #D23D6D

Accessibility & contrast

On white

10.37
#781C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C3A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C3A#FFFFFF#000000##FFFFFF
##781C3A1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781c3a;
/* rgb */ color: rgb(120, 28, 58);
/* oklch */ color: oklch(38.8% 0.127 6.0);
Tailwind
colors: {
  custom: {
    50: '#a4616f',
    500: '#781c3a',
    950: '#000000',
  },
}
SCSS
$custom: #781c3a;
$custom-light: #a4616f;
$custom-dark: #000000;
JSON
{
  "hex": "#781c3a",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 58
  },
  "hsl": {
    "h": 340.435,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38806,
    "c": 0.12733,
    "h": 6
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#781C3A
secondary
#44AC8A
accent
#E5B043
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #781C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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