#781B4C#781B4C

#781B4C is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.135 H 353.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#781B4C
RGBrgb(120, 27, 76)
HSLhsl(328, 63%, 29%)
HSVhsv(328, 78%, 47%)
CMYKcmyk(0%, 77.5%, 36.7%, 52.9%)
CIE-LABlab(27.57, 43.76, -6.35)
CIE-LCHlch(27.57, 44.22, 351.74°)
OKLaboklab(39.35% 0.1342 -0.0163)
OKLCHoklch(39.35% 0.135 353.1)
XYZxyz(9.4427, 5.2999, 7.3618)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B4C #1B7847
analogous
#761B78 #781B4C #781B1E
triadic
#781B4C #4C781B #1B4C78
tetradic
#781B4C #78761B #1B7847 #1B1E78
square
#781B4C #78761B #1B7847 #1B1E78
split-complementary
#781B4C #1E781B #1B7876
monochromatic
#190610 #46102C #781B4C #AA266C #D33B8B

Accessibility & contrast

On white

10.20
#781B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B4C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B4C#FFFFFF#000000##FFFFFF
##781B4C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364D
Deuteranopia (green-blind)
#46474A
Tritanopia (blue-blind)
#821231
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781b4c;
/* rgb */ color: rgb(120, 27, 76);
/* oklch */ color: oklch(39.3% 0.135 353.1);
Tailwind
colors: {
  custom: {
    50: '#a3617e',
    500: '#781b4c',
    950: '#000000',
  },
}
SCSS
$custom: #781b4c;
$custom-light: #a3617e;
$custom-dark: #000000;
JSON
{
  "hex": "#781b4c",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 328.387,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39347,
    "c": 0.13516,
    "h": 353.1
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#781B4C
secondary
#43AC75
accent
#E68F41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #781B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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