#782847#782847

#782847 is a dark, moderate pink. Relative luminance 0.060; OKLCH L 40.6% C 0.116 H 359.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#782847
RGBrgb(120, 40, 71)
HSLhsl(337, 50%, 31%)
HSVhsv(337, 67%, 47%)
CMYKcmyk(0%, 66.7%, 40.8%, 52.9%)
CIE-LABlab(29.33, 37.81, -0.43)
CIE-LCHlch(29.33, 37.82, 359.35°)
OKLaboklab(40.58% 0.1156 -0.0007)
OKLCHoklch(40.58% 0.116 359.7)
XYZxyz(9.6425, 5.9667, 6.6039)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782847 #287859
analogous
#78286F #782847 #783128
triadic
#782847 #477828 #284778
tetradic
#782847 #6F7828 #287859 #312878
square
#782847 #6F7828 #287859 #312878
split-complementary
#782847 #287831 #286F78
monochromatic
#1C0911 #4A192C #782847 #A63762 #C65480

Accessibility & contrast

On white

9.58
#782847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#782847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782847
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782847#FFFFFF#000000##FFFFFF
##7828471.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B48
Deuteranopia (green-blind)
#4C4B45
Tritanopia (blue-blind)
#822034
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782847;
/* rgb */ color: rgb(120, 40, 71);
/* oklch */ color: oklch(40.6% 0.116 359.7);
Tailwind
colors: {
  custom: {
    50: '#a3677a',
    500: '#782847',
    950: '#000000',
  },
}
SCSS
$custom: #782847;
$custom-light: #a3677a;
$custom-dark: #000000;
JSON
{
  "hex": "#782847",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 336.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40583,
    "c": 0.1156,
    "h": 359.7
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#782847
secondary
#52AA88
accent
#DAA44E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #782847

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

Preview Lab → · Contrast checker → · Palette generator →

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