#781B5F#781B5F

#781B5F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.147 H 341.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#781B5F
RGBrgb(120, 27, 95)
HSLhsl(316, 63%, 29%)
HSVhsv(316, 78%, 47%)
CMYKcmyk(0%, 77.5%, 20.8%, 52.9%)
CIE-LABlab(28.39, 46.29, -17.64)
CIE-LCHlch(28.39, 49.54, 339.14°)
OKLaboklab(40.21% 0.1386 -0.0475)
OKLCHoklch(40.21% 0.147 341.1)
XYZxyz(10.2035, 5.6042, 11.3686)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B5F #1B7834
analogous
#631B78 #781B5F #781B31
triadic
#781B5F #5F781B #1B5F78
tetradic
#781B5F #78631B #1B7834 #1B3178
square
#781B5F #78631B #1B7834 #1B3178
split-complementary
#781B5F #31781B #1B7863
monochromatic
#190614 #461037 #781B5F #AA2687 #D33BAA

Accessibility & contrast

On white

9.90
#781B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B5F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B5F#FFFFFF#000000##FFFFFF
##781B5F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#41485D
Tritanopia (blue-blind)
#801D3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781b5f;
/* rgb */ color: rgb(120, 27, 95);
/* oklch */ color: oklch(40.2% 0.147 341.1);
Tailwind
colors: {
  custom: {
    50: '#a2628c',
    500: '#781b5f',
    950: '#000000',
  },
}
SCSS
$custom: #781b5f;
$custom-light: #a2628c;
$custom-dark: #000000;
JSON
{
  "hex": "#781b5f",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 316.129,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40211,
    "c": 0.14652,
    "h": 341.1
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#781B5F
secondary
#43AC5F
accent
#E66E41
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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