#781B4B#781B4B

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

Color values

HEX#781B4B
RGBrgb(120, 27, 75)
HSLhsl(329, 63%, 29%)
HSVhsv(329, 78%, 47%)
CMYKcmyk(0%, 77.5%, 37.5%, 52.9%)
CIE-LABlab(27.53, 43.64, -5.74)
CIE-LCHlch(27.53, 44.02, 352.50°)
OKLaboklab(39.31% 0.1339 -0.0146)
OKLCHoklch(39.31% 0.135 353.8)
XYZxyz(9.4083, 5.2861, 7.1801)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B4B #1B7848
analogous
#771B78 #781B4B #781B1D
triadic
#781B4B #4B781B #1B4B78
tetradic
#781B4B #78771B #1B7848 #1B1D78
square
#781B4B #78771B #1B7848 #1B1D78
split-complementary
#781B4B #1D781B #1B7877
monochromatic
#190610 #46102C #781B4B #AA266A #D33B89

Accessibility & contrast

On white

10.21
#781B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B4B
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B4B#FFFFFF#000000##FFFFFF
##781B4B1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D364C
Deuteranopia (green-blind)
#474749
Tritanopia (blue-blind)
#821230
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781b4b;
/* rgb */ color: rgb(120, 27, 75);
/* oklch */ color: oklch(39.3% 0.135 353.8);
Tailwind
colors: {
  custom: {
    50: '#a3617d',
    500: '#781b4b',
    950: '#000000',
  },
}
SCSS
$custom: #781b4b;
$custom-light: #a3617d;
$custom-dark: #000000;
JSON
{
  "hex": "#781b4b",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 329.032,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.13468,
    "h": 353.8
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#781B4B
secondary
#43AC76
accent
#E69141
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #781B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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