#782152#782152

#782152 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.131 H 349.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#782152
RGBrgb(120, 33, 82)
HSLhsl(326, 57%, 30%)
HSVhsv(326, 73%, 47%)
CMYKcmyk(0%, 72.5%, 31.7%, 52.9%)
CIE-LABlab(28.62, 42.24, -8.76)
CIE-LCHlch(28.62, 43.14, 348.29°)
OKLaboklab(40.19% 0.1288 -0.0228)
OKLCHoklch(40.19% 0.131 349.9)
XYZxyz(9.8131, 5.6911, 8.5627)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782152 #217847
analogous
#732178 #782152 #782126
triadic
#782152 #527821 #215278
tetradic
#782152 #787321 #217847 #212678
square
#782152 #787321 #217847 #212678
split-complementary
#782152 #267821 #217873
monochromatic
#180710 #481431 #782152 #A82E73 #CC4792

Accessibility & contrast

On white

9.82
#782152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#782152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782152
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782152#FFFFFF#000000##FFFFFF
##7821521.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#811C36
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782152;
/* rgb */ color: rgb(120, 33, 82);
/* oklch */ color: oklch(40.2% 0.131 349.9);
Tailwind
colors: {
  custom: {
    50: '#a26482',
    500: '#782152',
    950: '#000000',
  },
}
SCSS
$custom: #782152;
$custom-light: #a26482;
$custom-dark: #000000;
JSON
{
  "hex": "#782152",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 326.207,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.4019,
    "c": 0.13078,
    "h": 349.9
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

primary
#782152
secondary
#4AAB74
accent
#E08A48
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F060A
muted
#7F7A7C

Preview Lab

Preview with #782152

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

Preview Lab → · Contrast checker → · Palette generator →

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