#782866#782866

#782866 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.134 H 337.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#782866
RGBrgb(120, 40, 102)
HSLhsl(314, 50%, 31%)
HSVhsv(314, 67%, 47%)
CMYKcmyk(0%, 66.7%, 15%, 52.9%)
CIE-LABlab(30.57, 42.21, -18.80)
CIE-LCHlch(30.57, 46.20, 335.99°)
OKLaboklab(41.91% 0.1242 -0.0509)
OKLCHoklch(41.91% 0.134 337.7)
XYZxyz(10.9030, 6.4709, 13.2426)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782866 #28783A
analogous
#622878 #782866 #78283E
triadic
#782866 #667828 #286678
tetradic
#782866 #786228 #28783A #283E78
square
#782866 #786228 #28783A #283E78
split-complementary
#782866 #3E7828 #287862
monochromatic
#1C0918 #4A193F #782866 #A6378D #C654AC

Accessibility & contrast

On white

9.15
#782866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#782866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782866
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782866#FFFFFF#000000##FFFFFF
##7828661.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#434C64
Tritanopia (blue-blind)
#7F2B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782866;
/* rgb */ color: rgb(120, 40, 102);
/* oklch */ color: oklch(41.9% 0.134 337.7);
Tailwind
colors: {
  custom: {
    50: '#a26892',
    500: '#782866',
    950: '#000000',
  },
}
SCSS
$custom: #782866;
$custom-light: #a26892;
$custom-dark: #000000;
JSON
{
  "hex": "#782866",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 313.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41905,
    "c": 0.13426,
    "h": 337.7
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#782866
secondary
#52AA66
accent
#DA6E4E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060D
muted
#7F7A7D

Preview Lab

Preview with #782866

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

Preview Lab → · Contrast checker → · Palette generator →

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