#782861#782861

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

Color values

HEX#782861
RGBrgb(120, 40, 97)
HSLhsl(317, 50%, 31%)
HSVhsv(317, 67%, 47%)
CMYKcmyk(0%, 66.7%, 19.2%, 52.9%)
CIE-LABlab(30.34, 41.41, -15.93)
CIE-LCHlch(30.34, 44.37, 338.96°)
OKLaboklab(41.66% 0.1233 -0.0428)
OKLCHoklch(41.66% 0.13 340.9)
XYZxyz(10.6625, 6.3747, 11.9758)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782861 #28783F
analogous
#672878 #782861 #782839
triadic
#782861 #617828 #286178
tetradic
#782861 #786728 #28783F #283978
square
#782861 #786728 #28783F #283978
split-complementary
#782861 #397828 #287867
monochromatic
#1C0917 #4A193C #782861 #A63786 #C654A5

Accessibility & contrast

On white

9.23
#782861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#782861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782861
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782861#FFFFFF#000000##FFFFFF
##7828611.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F63
Deuteranopia (green-blind)
#454C5F
Tritanopia (blue-blind)
#7F2A40
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #782861;
/* rgb */ color: rgb(120, 40, 97);
/* oklch */ color: oklch(41.7% 0.130 340.9);
Tailwind
colors: {
  custom: {
    50: '#a2688e',
    500: '#782861',
    950: '#000000',
  },
}
SCSS
$custom: #782861;
$custom-light: #a2688e;
$custom-dark: #000000;
JSON
{
  "hex": "#782861",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 97
  },
  "hsl": {
    "h": 317.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4166,
    "c": 0.13048,
    "h": 340.9
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#782861
secondary
#52AA6B
accent
#DA764E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #782861

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

Preview Lab → · Contrast checker → · Palette generator →

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