#781B41#781B41

#781B41 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 38.9% C 0.131 H 0.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#781B41
RGBrgb(120, 27, 65)
HSLhsl(335, 63%, 29%)
HSVhsv(335, 78%, 47%)
CMYKcmyk(0%, 77.5%, 45.8%, 52.9%)
CIE-LABlab(27.19, 42.53, 0.45)
CIE-LCHlch(27.19, 42.53, 0.60°)
OKLaboklab(38.94% 0.1305 0.0016)
OKLCHoklch(38.94% 0.131 0.7)
XYZxyz(9.0925, 5.1598, 5.5171)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B41 #1B7852
analogous
#781B70 #781B41 #78241B
triadic
#781B41 #41781B #1B4178
tetradic
#781B41 #70781B #1B7852 #241B78
square
#781B41 #70781B #1B7852 #241B78
split-complementary
#781B41 #1B7824 #1B7078
monochromatic
#19060E #461026 #781B41 #AA265C #D33B79

Accessibility & contrast

On white

10.34
#781B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B41
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B41#FFFFFF#000000##FFFFFF
##781B411.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303542
Deuteranopia (green-blind)
#49473F
Tritanopia (blue-blind)
#830B2B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781b41;
/* rgb */ color: rgb(120, 27, 65);
/* oklch */ color: oklch(38.9% 0.131 0.7);
Tailwind
colors: {
  custom: {
    50: '#a46175',
    500: '#781b41',
    950: '#000000',
  },
}
SCSS
$custom: #781b41;
$custom-light: #a46175;
$custom-dark: #000000;
JSON
{
  "hex": "#781b41",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 335.484,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38936,
    "c": 0.13051,
    "h": 0.7
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#781B41
secondary
#43AC81
accent
#E6A341
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781B41

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

Preview Lab → · Contrast checker → · Palette generator →

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