#782862#782862

#782862 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.131 H 340.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#782862
RGBrgb(120, 40, 98)
HSLhsl(317, 50%, 31%)
HSVhsv(317, 67%, 47%)
CMYKcmyk(0%, 66.7%, 18.3%, 52.9%)
CIE-LABlab(30.38, 41.56, -16.51)
CIE-LCHlch(30.38, 44.72, 338.34°)
OKLaboklab(41.71% 0.1235 -0.0444)
OKLCHoklch(41.71% 0.131 340.2)
XYZxyz(10.7094, 6.3935, 12.2229)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782862 #28783E
analogous
#662878 #782862 #78283A
triadic
#782862 #627828 #286278
tetradic
#782862 #786628 #28783E #283A78
square
#782862 #786628 #28783E #283A78
split-complementary
#782862 #3A7828 #287866
monochromatic
#1C0917 #4A193D #782862 #A63787 #C654A7

Accessibility & contrast

On white

9.22
#782862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#782862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782862
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782862#FFFFFF#000000##FFFFFF
##7828621.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F64
Deuteranopia (green-blind)
#454C60
Tritanopia (blue-blind)
#7F2A41
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782862;
/* rgb */ color: rgb(120, 40, 98);
/* oklch */ color: oklch(41.7% 0.131 340.2);
Tailwind
colors: {
  custom: {
    50: '#a2688e',
    500: '#782862',
    950: '#000000',
  },
}
SCSS
$custom: #782862;
$custom-light: #a2688e;
$custom-dark: #000000;
JSON
{
  "hex": "#782862",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 316.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.13122,
    "h": 340.2
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#782862
secondary
#52AA6A
accent
#DA754E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #782862

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

Preview Lab → · Contrast checker → · Palette generator →

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