#782242#782242

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

Color values

HEX#782242
RGBrgb(120, 34, 66)
HSLhsl(338, 56%, 30%)
HSVhsv(338, 72%, 47%)
CMYKcmyk(0%, 71.7%, 45%, 52.9%)
CIE-LABlab(28.20, 39.91, 1.25)
CIE-LCHlch(28.20, 39.92, 1.80°)
OKLaboklab(39.69% 0.1222 0.0037)
OKLCHoklch(39.69% 0.122 1.7)
XYZxyz(9.3018, 5.5316, 5.7311)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782242 #227858
analogous
#78226D #782242 #782D22
triadic
#782242 #427822 #224278
tetradic
#782242 #6D7822 #227858 #2D2278
square
#782242 #6D7822 #227858 #2D2278
split-complementary
#782242 #22782D #226D78
monochromatic
#19070E #481428 #782242 #A8305C #CB497A

Accessibility & contrast

On white

9.97
#782242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#782242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782242
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782242#FFFFFF#000000##FFFFFF
##7822421.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343843
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#82162F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782242;
/* rgb */ color: rgb(120, 34, 66);
/* oklch */ color: oklch(39.7% 0.122 1.7);
Tailwind
colors: {
  custom: {
    50: '#a36476',
    500: '#782242',
    950: '#000000',
  },
}
SCSS
$custom: #782242;
$custom-light: #a36476;
$custom-dark: #000000;
JSON
{
  "hex": "#782242",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 337.674,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.12221,
    "h": 1.7
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#782242
secondary
#4BAB87
accent
#DFA749
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #782242

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

Preview Lab → · Contrast checker → · Palette generator →

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