#782240#782240

#782240 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.6% C 0.122 H 3.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#782240
RGBrgb(120, 34, 64)
HSLhsl(339, 56%, 30%)
HSVhsv(339, 72%, 47%)
CMYKcmyk(0%, 71.7%, 46.7%, 52.9%)
CIE-LABlab(28.14, 39.69, 2.50)
CIE-LCHlch(28.14, 39.77, 3.60°)
OKLaboklab(39.63% 0.1214 0.0069)
OKLCHoklch(39.63% 0.122 3.2)
XYZxyz(9.2439, 5.5085, 5.4260)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782240 #22785A
analogous
#78226B #782240 #782F22
triadic
#782240 #407822 #224078
tetradic
#782240 #6B7822 #22785A #2F2278
square
#782240 #6B7822 #22785A #2F2278
split-complementary
#782240 #22782F #226B78
monochromatic
#19070D #481427 #782240 #A83059 #CB4976

Accessibility & contrast

On white

9.99
#782240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#782240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782240
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782240#FFFFFF#000000##FFFFFF
##7822401.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343841
Deuteranopia (green-blind)
#4B493E
Tritanopia (blue-blind)
#83152E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #782240;
/* rgb */ color: rgb(120, 34, 64);
/* oklch */ color: oklch(39.6% 0.122 3.2);
Tailwind
colors: {
  custom: {
    50: '#a36474',
    500: '#782240',
    950: '#000000',
  },
}
SCSS
$custom: #782240;
$custom-light: #a36474;
$custom-dark: #000000;
JSON
{
  "hex": "#782240",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 339.07,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.12157,
    "h": 3.2
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#782240
secondary
#4BAB89
accent
#DFAB49
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #782240

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

Preview Lab → · Contrast checker → · Palette generator →

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