#781E45#781E45

#781E45 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.4% C 0.128 H 358.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#781E45
RGBrgb(120, 30, 69)
HSLhsl(334, 60%, 29%)
HSVhsv(334, 75%, 47%)
CMYKcmyk(0%, 75%, 42.5%, 52.9%)
CIE-LABlab(27.72, 41.84, -1.46)
CIE-LCHlch(27.72, 41.87, 358.00°)
OKLaboklab(39.37% 0.1284 -0.0033)
OKLCHoklch(39.37% 0.128 358.5)
XYZxyz(9.2848, 5.3524, 6.1733)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E45 #1E7851
analogous
#781E72 #781E45 #78241E
triadic
#781E45 #45781E #1E4578
tetradic
#781E45 #72781E #1E7851 #241E78
square
#781E45 #72781E #1E7851 #241E78
split-complementary
#781E45 #1E7824 #1E7278
monochromatic
#18060E #471229 #781E45 #A92A61 #CF417F

Accessibility & contrast

On white

10.14
#781E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E45
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E45#FFFFFF#000000##FFFFFF
##781E451.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303746
Deuteranopia (green-blind)
#494843
Tritanopia (blue-blind)
#82122F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781e45;
/* rgb */ color: rgb(120, 30, 69);
/* oklch */ color: oklch(39.4% 0.128 358.5);
Tailwind
colors: {
  custom: {
    50: '#a36278',
    500: '#781e45',
    950: '#000000',
  },
}
SCSS
$custom: #781e45;
$custom-light: #a36278;
$custom-dark: #000000;
JSON
{
  "hex": "#781e45",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 334,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3937,
    "c": 0.12841,
    "h": 358.5
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#781E45
secondary
#46AC80
accent
#E39E45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #781E45

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

Preview Lab → · Contrast checker → · Palette generator →

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