#782161#782161

#782161 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.140 H 340.3°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#782161
RGBrgb(120, 33, 97)
HSLhsl(316, 57%, 30%)
HSVhsv(316, 73%, 47%)
CMYKcmyk(0%, 72.5%, 19.2%, 52.9%)
CIE-LABlab(29.27, 44.37, -17.58)
CIE-LCHlch(29.27, 47.73, 338.39°)
OKLaboklab(40.88% 0.1322 -0.0474)
OKLCHoklch(40.88% 0.14 340.3)
XYZxyz(10.4475, 5.9448, 11.9042)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782161 #217838
analogous
#642178 #782161 #782135
triadic
#782161 #617821 #216178
tetradic
#782161 #786421 #217838 #213578
square
#782161 #786421 #217838 #213578
split-complementary
#782161 #357821 #217864
monochromatic
#180713 #48143A #782161 #A82E88 #CC47A9

Accessibility & contrast

On white

9.59
#782161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#782161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782161
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782161#FFFFFF#000000##FFFFFF
##7821611.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273C63
Deuteranopia (green-blind)
#424A5F
Tritanopia (blue-blind)
#7F233E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782161;
/* rgb */ color: rgb(120, 33, 97);
/* oklch */ color: oklch(40.9% 0.140 340.3);
Tailwind
colors: {
  custom: {
    50: '#a2648e',
    500: '#782161',
    950: '#000000',
  },
}
SCSS
$custom: #782161;
$custom-light: #a2648e;
$custom-dark: #000000;
JSON
{
  "hex": "#782161",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 315.862,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.40882,
    "c": 0.14044,
    "h": 340.3
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#782161
secondary
#4AAB63
accent
#E07048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #782161

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

Preview Lab → · Contrast checker → · Palette generator →

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