#782140#782140

#782140 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.5% C 0.123 H 2.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#782140
RGBrgb(120, 33, 64)
HSLhsl(339, 57%, 30%)
HSVhsv(339, 73%, 47%)
CMYKcmyk(0%, 72.5%, 46.7%, 52.9%)
CIE-LABlab(27.99, 40.11, 2.28)
CIE-LCHlch(27.99, 40.17, 3.26°)
OKLaboklab(39.52% 0.1227 0.0063)
OKLCHoklch(39.52% 0.123 2.9)
XYZxyz(9.2157, 5.4521, 5.4166)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782140 #217859
analogous
#78216B #782140 #782E21
triadic
#782140 #407821 #214078
tetradic
#782140 #6B7821 #217859 #2E2178
square
#782140 #6B7821 #217859 #2E2178
split-complementary
#782140 #21782E #216B78
monochromatic
#18070D #481426 #782140 #A82E5A #CC4777

Accessibility & contrast

On white

10.05
#782140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#782140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782140
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782140#FFFFFF#000000##FFFFFF
##7821401.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343741
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#83142E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #782140;
/* rgb */ color: rgb(120, 33, 64);
/* oklch */ color: oklch(39.5% 0.123 2.9);
Tailwind
colors: {
  custom: {
    50: '#a36374',
    500: '#782140',
    950: '#000000',
  },
}
SCSS
$custom: #782140;
$custom-light: #a36374;
$custom-dark: #000000;
JSON
{
  "hex": "#782140",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 338.621,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.12287,
    "h": 2.9
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#782140
secondary
#4AAB88
accent
#E0AA48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #782140

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

Preview Lab → · Contrast checker → · Palette generator →

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