#781863#781863

#781863 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.2% C 0.153 H 338.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#781863
RGBrgb(120, 24, 99)
HSLhsl(313, 67%, 28%)
HSVhsv(313, 80%, 47%)
CMYKcmyk(0%, 80%, 17.5%, 52.9%)
CIE-LABlab(28.24, 47.87, -20.48)
CIE-LCHlch(28.24, 52.07, 336.84°)
OKLaboklab(40.17% 0.1422 -0.0555)
OKLCHoklch(40.17% 0.153 338.7)
XYZxyz(10.3248, 5.5482, 12.3291)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781863 #18782D
analogous
#5D1878 #781863 #781833
triadic
#781863 #637818 #186378
tetradic
#781863 #785D18 #18782D #183378
square
#781863 #785D18 #18782D #183378
split-complementary
#781863 #337818 #18785D
monochromatic
#1A0515 #450E39 #781863 #AB228D #D634B3

Accessibility & contrast

On white

9.96
#781863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#781863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781863
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781863#FFFFFF#000000##FFFFFF
##7818631.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3965
Deuteranopia (green-blind)
#3E4861
Tritanopia (blue-blind)
#7F1D3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781863;
/* rgb */ color: rgb(120, 24, 99);
/* oklch */ color: oklch(40.2% 0.153 338.7);
Tailwind
colors: {
  custom: {
    50: '#a2618f',
    500: '#781863',
    950: '#000000',
  },
}
SCSS
$custom: #781863;
$custom-light: #a2618f;
$custom-dark: #000000;
JSON
{
  "hex": "#781863",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 313.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40168,
    "c": 0.15263,
    "h": 338.7
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#781863
secondary
#3FAD57
accent
#EA643E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781863

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

Preview Lab → · Contrast checker → · Palette generator →

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