#782840#782840

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

Color values

HEX#782840
RGBrgb(120, 40, 64)
HSLhsl(342, 50%, 31%)
HSVhsv(342, 67%, 47%)
CMYKcmyk(0%, 66.7%, 46.7%, 52.9%)
CIE-LABlab(29.11, 37.02, 3.90)
CIE-LCHlch(29.11, 37.23, 6.02°)
OKLaboklab(40.35% 0.1129 0.0104)
OKLCHoklch(40.35% 0.113 5.3)
XYZxyz(9.4306, 5.8820, 5.4882)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782840 #287860
analogous
#782868 #782840 #783828
triadic
#782840 #407828 #284078
tetradic
#782840 #687828 #287860 #382878
square
#782840 #687828 #287860 #382878
split-complementary
#782840 #287838 #286878
monochromatic
#1C090F #4A1928 #782840 #A63758 #C65476

Accessibility & contrast

On white

9.65
#782840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782840
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782840#FFFFFF#000000##FFFFFF
##7828401.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#4E4A3E
Tritanopia (blue-blind)
#821D31
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782840;
/* rgb */ color: rgb(120, 40, 64);
/* oklch */ color: oklch(40.4% 0.113 5.3);
Tailwind
colors: {
  custom: {
    50: '#a36774',
    500: '#782840',
    950: '#000000',
  },
}
SCSS
$custom: #782840;
$custom-light: #a36774;
$custom-dark: #000000;
JSON
{
  "hex": "#782840",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 342,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40353,
    "c": 0.11339,
    "h": 5.3
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#782840
secondary
#52AA90
accent
#DAB04E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #782840

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

Preview Lab → · Contrast checker → · Palette generator →

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