#782168#782168

#782168 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.146 H 336.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#782168
RGBrgb(120, 33, 104)
HSLhsl(311, 57%, 30%)
HSVhsv(311, 73%, 47%)
CMYKcmyk(0%, 72.5%, 13.3%, 52.9%)
CIE-LABlab(29.62, 45.47, -21.57)
CIE-LCHlch(29.62, 50.32, 334.62°)
OKLaboklab(41.24% 0.1333 -0.0587)
OKLCHoklch(41.24% 0.146 336.2)
XYZxyz(10.7884, 6.0812, 13.6996)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782168 #217831
analogous
#5C2178 #782168 #78213D
triadic
#782168 #687821 #216878
tetradic
#782168 #785C21 #217831 #213D78
square
#782168 #785C21 #217831 #213D78
split-complementary
#782168 #3D7821 #21785C
monochromatic
#180715 #48143E #782168 #A82E92 #CC47B4

Accessibility & contrast

On white

9.48
#782168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#782168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782168
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782168#FFFFFF#000000##FFFFFF
##7821681.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D6A
Deuteranopia (green-blind)
#404A66
Tritanopia (blue-blind)
#7E2741
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #782168;
/* rgb */ color: rgb(120, 33, 104);
/* oklch */ color: oklch(41.2% 0.146 336.2);
Tailwind
colors: {
  custom: {
    50: '#a26593',
    500: '#782168',
    950: '#000000',
  },
}
SCSS
$custom: #782168;
$custom-light: #a26593;
$custom-dark: #000000;
JSON
{
  "hex": "#782168",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 311.034,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.14563,
    "h": 336.2
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#782168
secondary
#4AAB5C
accent
#E06448
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #782168

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

Preview Lab → · Contrast checker → · Palette generator →

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