#781F3A#781F3A

#781F3A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.1% C 0.124 H 6.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#781F3A
RGBrgb(120, 31, 58)
HSLhsl(342, 59%, 30%)
HSVhsv(342, 74%, 47%)
CMYKcmyk(0%, 74.2%, 51.7%, 52.9%)
CIE-LABlab(27.52, 40.32, 5.64)
CIE-LCHlch(27.52, 40.72, 7.96°)
OKLaboklab(39.11% 0.1229 0.0147)
OKLCHoklch(39.11% 0.124 6.8)
XYZxyz(9.0002, 5.2797, 4.5473)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F3A #1F785D
analogous
#781F66 #781F3A #78311F
triadic
#781F3A #3A781F #1F3A78
tetradic
#781F3A #66781F #1F785D #311F78
square
#781F3A #66781F #1F785D #311F78
split-complementary
#781F3A #1F7831 #1F6678
monochromatic
#18060C #471222 #781F3A #A92C52 #CE436D

Accessibility & contrast

On white

10.22
#781F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#781F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F3A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F3A#FFFFFF#000000##FFFFFF
##781F3A1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363B
Deuteranopia (green-blind)
#4B4738
Tritanopia (blue-blind)
#830E2A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781f3a;
/* rgb */ color: rgb(120, 31, 58);
/* oklch */ color: oklch(39.1% 0.124 6.8);
Tailwind
colors: {
  custom: {
    50: '#a4626f',
    500: '#781f3a',
    950: '#000000',
  },
}
SCSS
$custom: #781f3a;
$custom-light: #a4626f;
$custom-dark: #000000;
JSON
{
  "hex": "#781f3a",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 341.798,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.12382,
    "h": 6.8
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#781F3A
secondary
#47AB8D
accent
#E2B346
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #781F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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