#781847#781847

#781847 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.136 H 356.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#781847
RGBrgb(120, 24, 71)
HSLhsl(331, 67%, 28%)
HSVhsv(331, 80%, 47%)
CMYKcmyk(0%, 80%, 40.8%, 52.9%)
CIE-LABlab(27.02, 44.21, -3.82)
CIE-LCHlch(27.02, 44.37, 355.06°)
OKLaboklab(38.89% 0.1359 -0.0095)
OKLCHoklch(38.89% 0.136 356)
XYZxyz(9.2103, 5.1024, 6.4599)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781847 #187849
analogous
#781877 #781847 #781918
triadic
#781847 #477818 #184778
tetradic
#781847 #777818 #187849 #191878
square
#781847 #777818 #187849 #191878
split-complementary
#781847 #187819 #187778
monochromatic
#1A050F #450E29 #781847 #AB2265 #D63484

Accessibility & contrast

On white

10.40
#781847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#781847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781847
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781847#FFFFFF#000000##FFFFFF
##7818471.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#474645
Tritanopia (blue-blind)
#820A2D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781847;
/* rgb */ color: rgb(120, 24, 71);
/* oklch */ color: oklch(38.9% 0.136 356.0);
Tailwind
colors: {
  custom: {
    50: '#a3607a',
    500: '#781847',
    950: '#000000',
  },
}
SCSS
$custom: #781847;
$custom-light: #a3607a;
$custom-dark: #000000;
JSON
{
  "hex": "#781847",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 330.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.1362,
    "h": 356
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#781847
secondary
#3FAD77
accent
#EA963E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #781847

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

Preview Lab → · Contrast checker → · Palette generator →

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