#782842#782842

#782842 is a dark, moderate pink. Relative luminance 0.059; OKLCH L 40.4% C 0.114 H 3.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#782842
RGBrgb(120, 40, 66)
HSLhsl(341, 50%, 31%)
HSVhsv(341, 67%, 47%)
CMYKcmyk(0%, 66.7%, 45%, 52.9%)
CIE-LABlab(29.17, 37.24, 2.66)
CIE-LCHlch(29.17, 37.34, 4.08°)
OKLaboklab(40.42% 0.1137 0.0073)
OKLCHoklch(40.42% 0.114 3.7)
XYZxyz(9.4886, 5.9051, 5.7933)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782842 #28785E
analogous
#78286A #782842 #783628
triadic
#782842 #427828 #284278
tetradic
#782842 #6A7828 #28785E #362878
square
#782842 #6A7828 #28785E #362878
split-complementary
#782842 #287836 #286A78
monochromatic
#1C0910 #4A1929 #782842 #A6375B #C65479

Accessibility & contrast

On white

9.63
#782842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#782842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782842
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782842#FFFFFF#000000##FFFFFF
##7828421.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#4D4B40
Tritanopia (blue-blind)
#821E32
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782842;
/* rgb */ color: rgb(120, 40, 66);
/* oklch */ color: oklch(40.4% 0.114 3.7);
Tailwind
colors: {
  custom: {
    50: '#a36776',
    500: '#782842',
    950: '#000000',
  },
}
SCSS
$custom: #782842;
$custom-light: #a36776;
$custom-dark: #000000;
JSON
{
  "hex": "#782842",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 340.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.11393,
    "h": 3.7
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#782842
secondary
#52AA8D
accent
#DAAC4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #782842

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

Preview Lab → · Contrast checker → · Palette generator →

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