#781862#781862

#781862 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.152 H 339.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#781862
RGBrgb(120, 24, 98)
HSLhsl(314, 67%, 28%)
HSVhsv(314, 80%, 47%)
CMYKcmyk(0%, 80%, 18.3%, 52.9%)
CIE-LABlab(28.19, 47.72, -19.91)
CIE-LCHlch(28.19, 51.71, 337.36°)
OKLaboklab(40.12% 0.1421 -0.0539)
OKLCHoklch(40.12% 0.152 339.2)
XYZxyz(10.2772, 5.5292, 12.0789)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781862 #18782E
analogous
#5E1878 #781862 #781832
triadic
#781862 #627818 #186278
tetradic
#781862 #785E18 #18782E #183278
square
#781862 #785E18 #18782E #183278
split-complementary
#781862 #327818 #18785E
monochromatic
#1A0515 #450E38 #781862 #AB228C #D634B1

Accessibility & contrast

On white

9.97
#781862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781862
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781862#FFFFFF#000000##FFFFFF
##7818621.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3964
Deuteranopia (green-blind)
#3F4860
Tritanopia (blue-blind)
#7F1C3B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781862;
/* rgb */ color: rgb(120, 24, 98);
/* oklch */ color: oklch(40.1% 0.152 339.2);
Tailwind
colors: {
  custom: {
    50: '#a2618f',
    500: '#781862',
    950: '#000000',
  },
}
SCSS
$custom: #781862;
$custom-light: #a2618f;
$custom-dark: #000000;
JSON
{
  "hex": "#781862",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 313.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.15193,
    "h": 339.2
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#781862
secondary
#3FAD58
accent
#EA653E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781862

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

Preview Lab → · Contrast checker → · Palette generator →

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