#781865#781865

#781865 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.154 H 337.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#781865
RGBrgb(120, 24, 101)
HSLhsl(312, 67%, 28%)
HSVhsv(312, 80%, 47%)
CMYKcmyk(0%, 80%, 15.8%, 52.9%)
CIE-LABlab(28.35, 48.17, -21.62)
CIE-LCHlch(28.35, 52.80, 335.83°)
OKLaboklab(40.28% 0.1424 -0.0588)
OKLCHoklch(40.28% 0.154 337.6)
XYZxyz(10.4216, 5.5869, 12.8389)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781865 #18782B
analogous
#5B1878 #781865 #781835
triadic
#781865 #657818 #186578
tetradic
#781865 #785B18 #18782B #183578
square
#781865 #785B18 #18782B #183578
split-complementary
#781865 #357818 #18785B
monochromatic
#1A0515 #450E3A #781865 #AB2290 #D634B6

Accessibility & contrast

On white

9.92
#781865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781865
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781865#FFFFFF#000000##FFFFFF
##7818651.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3967
Deuteranopia (green-blind)
#3D4863
Tritanopia (blue-blind)
#7F1E3D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781865;
/* rgb */ color: rgb(120, 24, 101);
/* oklch */ color: oklch(40.3% 0.154 337.6);
Tailwind
colors: {
  custom: {
    50: '#a26191',
    500: '#781865',
    950: '#000000',
  },
}
SCSS
$custom: #781865;
$custom-light: #a26191;
$custom-dark: #000000;
JSON
{
  "hex": "#781865",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 311.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40275,
    "c": 0.15405,
    "h": 337.6
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#781865
secondary
#3FAD55
accent
#EA603E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781865

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

Preview Lab → · Contrast checker → · Palette generator →

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