#782858#782858

#782858 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.2% C 0.124 H 346.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#782858
RGBrgb(120, 40, 88)
HSLhsl(324, 50%, 31%)
HSVhsv(324, 67%, 47%)
CMYKcmyk(0%, 66.7%, 26.7%, 52.9%)
CIE-LABlab(29.95, 40.05, -10.68)
CIE-LCHlch(29.95, 41.45, 345.08°)
OKLaboklab(41.25% 0.1211 -0.0282)
OKLCHoklch(41.25% 0.124 346.9)
XYZxyz(10.2664, 6.2163, 9.8898)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782858 #287848
analogous
#702878 #782858 #782830
triadic
#782858 #587828 #285878
tetradic
#782858 #787028 #287848 #283078
square
#782858 #787028 #287848 #283078
split-complementary
#782858 #307828 #287870
monochromatic
#1C0915 #4A1936 #782858 #A6377A #C65499

Accessibility & contrast

On white

9.36
#782858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#782858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782858
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782858#FFFFFF#000000##FFFFFF
##7828581.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E59
Deuteranopia (green-blind)
#484C56
Tritanopia (blue-blind)
#80263C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #782858;
/* rgb */ color: rgb(120, 40, 88);
/* oklch */ color: oklch(41.2% 0.124 346.9);
Tailwind
colors: {
  custom: {
    50: '#a26887',
    500: '#782858',
    950: '#000000',
  },
}
SCSS
$custom: #782858;
$custom-light: #a26887;
$custom-dark: #000000;
JSON
{
  "hex": "#782858",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 324,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.12432,
    "h": 346.9
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#782858
secondary
#52AA75
accent
#DA864E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #782858

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

Preview Lab → · Contrast checker → · Palette generator →

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