#782863#782863

#782863 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.132 H 339.6°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#782863
RGBrgb(120, 40, 99)
HSLhsl(316, 50%, 31%)
HSVhsv(316, 67%, 47%)
CMYKcmyk(0%, 66.7%, 17.5%, 52.9%)
CIE-LABlab(30.43, 41.72, -17.08)
CIE-LCHlch(30.43, 45.08, 337.74°)
OKLaboklab(41.76% 0.1237 -0.046)
OKLCHoklch(41.76% 0.132 339.6)
XYZxyz(10.7569, 6.4125, 12.4732)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782863 #28783D
analogous
#652878 #782863 #78283B
triadic
#782863 #637828 #286378
tetradic
#782863 #786528 #28783D #283B78
square
#782863 #786528 #28783D #283B78
split-complementary
#782863 #3B7828 #287865
monochromatic
#1C0917 #4A193D #782863 #A63789 #C654A8

Accessibility & contrast

On white

9.20
#782863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782863
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782863#FFFFFF#000000##FFFFFF
##7828631.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782863;
/* rgb */ color: rgb(120, 40, 99);
/* oklch */ color: oklch(41.8% 0.132 339.6);
Tailwind
colors: {
  custom: {
    50: '#a2688f',
    500: '#782863',
    950: '#000000',
  },
}
SCSS
$custom: #782863;
$custom-light: #a2688f;
$custom-dark: #000000;
JSON
{
  "hex": "#782863",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 315.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41757,
    "c": 0.13196,
    "h": 339.6
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#782863
secondary
#52AA69
accent
#DA734E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #782863

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

Preview Lab → · Contrast checker → · Palette generator →

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