#781947#781947

#781947 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.135 H 356.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#781947
RGBrgb(120, 25, 71)
HSLhsl(331, 66%, 28%)
HSVhsv(331, 79%, 47%)
CMYKcmyk(0%, 79.2%, 40.8%, 52.9%)
CIE-LABlab(27.14, 43.87, -3.65)
CIE-LCHlch(27.14, 44.03, 355.25°)
OKLaboklab(38.97% 0.1348 -0.0091)
OKLCHoklch(38.97% 0.135 356.2)
XYZxyz(9.2313, 5.1444, 6.4669)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781947 #19784A
analogous
#781976 #781947 #781A19
triadic
#781947 #477819 #194778
tetradic
#781947 #767819 #19784A #1A1978
square
#781947 #767819 #19784A #1A1978
split-complementary
#781947 #19781A #197678
monochromatic
#19050F #450E29 #781947 #AB2465 #D53683

Accessibility & contrast

On white

10.35
#781947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#781947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781947
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781947#FFFFFF#000000##FFFFFF
##7819471.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#474745
Tritanopia (blue-blind)
#820C2D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781947;
/* rgb */ color: rgb(120, 25, 71);
/* oklch */ color: oklch(39.0% 0.135 356.2);
Tailwind
colors: {
  custom: {
    50: '#a3607a',
    500: '#781947',
    950: '#000000',
  },
}
SCSS
$custom: #781947;
$custom-light: #a3607a;
$custom-dark: #000000;
JSON
{
  "hex": "#781947",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 330.947,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38972,
    "c": 0.13511,
    "h": 356.2
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#781947
secondary
#40AD78
accent
#E8973F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #781947

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

Preview Lab → · Contrast checker → · Palette generator →

#781947 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva