#781B3F#781B3F

#781B3F is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.130 H 2.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#781B3F
RGBrgb(120, 27, 63)
HSLhsl(337, 63%, 29%)
HSVhsv(337, 78%, 47%)
CMYKcmyk(0%, 77.5%, 47.5%, 52.9%)
CIE-LABlab(27.12, 42.33, 1.70)
CIE-LCHlch(27.12, 42.36, 2.31°)
OKLaboklab(38.87% 0.1298 0.0049)
OKLCHoklch(38.87% 0.13 2.1)
XYZxyz(9.0356, 5.1370, 5.2174)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B3F #1B7854
analogous
#781B6E #781B3F #78261B
triadic
#781B3F #3F781B #1B3F78
tetradic
#781B3F #6E781B #1B7854 #261B78
square
#781B3F #6E781B #1B7854 #261B78
split-complementary
#781B3F #1B7826 #1B6E78
monochromatic
#19060D #461025 #781B3F #AA2659 #D33B76

Accessibility & contrast

On white

10.36
#781B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B3F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B3F#FFFFFF#000000##FFFFFF
##781B3F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303540
Deuteranopia (green-blind)
#49473D
Tritanopia (blue-blind)
#83092A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781b3f;
/* rgb */ color: rgb(120, 27, 63);
/* oklch */ color: oklch(38.9% 0.130 2.1);
Tailwind
colors: {
  custom: {
    50: '#a46173',
    500: '#781b3f',
    950: '#000000',
  },
}
SCSS
$custom: #781b3f;
$custom-light: #a46173;
$custom-dark: #000000;
JSON
{
  "hex": "#781b3f",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 336.774,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38869,
    "c": 0.12985,
    "h": 2.1
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#781B3F
secondary
#43AC83
accent
#E6A741
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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