#781B4F#781B4F

#781B4F is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.137 H 351.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#781B4F
RGBrgb(120, 27, 79)
HSLhsl(326, 63%, 29%)
HSVhsv(326, 78%, 47%)
CMYKcmyk(0%, 77.5%, 34.2%, 52.9%)
CIE-LABlab(27.69, 44.13, -8.17)
CIE-LCHlch(27.69, 44.88, 349.51°)
OKLaboklab(39.47% 0.1351 -0.0212)
OKLCHoklch(39.47% 0.137 351.1)
XYZxyz(9.5495, 5.3426, 7.9239)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B4F #1B7844
analogous
#731B78 #781B4F #781B21
triadic
#781B4F #4F781B #1B4F78
tetradic
#781B4F #78731B #1B7844 #1B2178
square
#781B4F #78731B #1B7844 #1B2178
split-complementary
#781B4F #21781B #1B7873
monochromatic
#190610 #46102E #781B4F #AA2670 #D33B90

Accessibility & contrast

On white

10.15
#781B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#781B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B4F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B4F#FFFFFF#000000##FFFFFF
##781B4F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3750
Deuteranopia (green-blind)
#46474D
Tritanopia (blue-blind)
#811432
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781b4f;
/* rgb */ color: rgb(120, 27, 79);
/* oklch */ color: oklch(39.5% 0.137 351.1);
Tailwind
colors: {
  custom: {
    50: '#a36180',
    500: '#781b4f',
    950: '#000000',
  },
}
SCSS
$custom: #781b4f;
$custom-light: #a36180;
$custom-dark: #000000;
JSON
{
  "hex": "#781b4f",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 326.452,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.13671,
    "h": 351.1
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#781B4F
secondary
#43AC71
accent
#E68A41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #781B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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