#781868#781868

#781868 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.156 H 336.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#781868
RGBrgb(120, 24, 104)
HSLhsl(310, 67%, 28%)
HSVhsv(310, 80%, 47%)
CMYKcmyk(0%, 80%, 13.3%, 52.9%)
CIE-LABlab(28.50, 48.63, -23.31)
CIE-LCHlch(28.50, 53.93, 334.39°)
OKLaboklab(40.44% 0.1427 -0.0636)
OKLCHoklch(40.44% 0.156 336)
XYZxyz(10.5712, 5.6468, 13.6272)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781868 #187828
analogous
#581878 #781868 #781838
triadic
#781868 #687818 #186878
tetradic
#781868 #785818 #187828 #183878
square
#781868 #785818 #187828 #183878
split-complementary
#781868 #387818 #187858
monochromatic
#1A0516 #450E3C #781868 #AB2294 #D634BB

Accessibility & contrast

On white

9.86
#781868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#781868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781868
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781868#FFFFFF#000000##FFFFFF
##7818681.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#7E203F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781868;
/* rgb */ color: rgb(120, 24, 104);
/* oklch */ color: oklch(40.4% 0.156 336.0);
Tailwind
colors: {
  custom: {
    50: '#a26193',
    500: '#781868',
    950: '#000000',
  },
}
SCSS
$custom: #781868;
$custom-light: #a26193;
$custom-dark: #000000;
JSON
{
  "hex": "#781868",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 310,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4044,
    "c": 0.15623,
    "h": 336
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#781868
secondary
#3FAD51
accent
#EA5B3E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #781868

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

Preview Lab → · Contrast checker → · Palette generator →

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