#782162#782162

#782162 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.141 H 339.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#782162
RGBrgb(120, 33, 98)
HSLhsl(315, 57%, 30%)
HSVhsv(315, 73%, 47%)
CMYKcmyk(0%, 72.5%, 18.3%, 52.9%)
CIE-LABlab(29.32, 44.52, -18.15)
CIE-LCHlch(29.32, 48.08, 337.82°)
OKLaboklab(40.93% 0.1324 -0.049)
OKLCHoklch(40.93% 0.141 339.7)
XYZxyz(10.4944, 5.9636, 12.1513)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782162 #217837
analogous
#622178 #782162 #782137
triadic
#782162 #627821 #216278
tetradic
#782162 #786221 #217837 #213778
square
#782162 #786221 #217837 #213778
split-complementary
#782162 #377821 #217862
monochromatic
#180714 #48143B #782162 #A82E89 #CC47AB

Accessibility & contrast

On white

9.58
#782162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782162
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782162#FFFFFF#000000##FFFFFF
##7821621.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C64
Deuteranopia (green-blind)
#424A60
Tritanopia (blue-blind)
#7F243E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782162;
/* rgb */ color: rgb(120, 33, 98);
/* oklch */ color: oklch(40.9% 0.141 339.7);
Tailwind
colors: {
  custom: {
    50: '#a2648f',
    500: '#782162',
    950: '#000000',
  },
}
SCSS
$custom: #782162;
$custom-light: #a2648f;
$custom-dark: #000000;
JSON
{
  "hex": "#782162",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 315.172,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.14116,
    "h": 339.7
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#782162
secondary
#4AAB62
accent
#E06E48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #782162

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

Preview Lab → · Contrast checker → · Palette generator →

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