#781867#781867

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

Color values

HEX#781867
RGBrgb(120, 24, 103)
HSLhsl(311, 67%, 28%)
HSVhsv(311, 80%, 47%)
CMYKcmyk(0%, 80%, 14.2%, 52.9%)
CIE-LABlab(28.45, 48.48, -22.75)
CIE-LCHlch(28.45, 53.55, 334.86°)
OKLaboklab(40.39% 0.1426 -0.062)
OKLCHoklch(40.39% 0.155 336.5)
XYZxyz(10.5207, 5.6266, 13.3613)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781867 #187829
analogous
#591878 #781867 #781837
triadic
#781867 #677818 #186778
tetradic
#781867 #785918 #187829 #183778
square
#781867 #785918 #187829 #183778
split-complementary
#781867 #377818 #187859
monochromatic
#1A0516 #450E3B #781867 #AB2293 #D634BA

Accessibility & contrast

On white

9.88
#781867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781867
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781867#FFFFFF#000000##FFFFFF
##7818671.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A69
Deuteranopia (green-blind)
#3D4865
Tritanopia (blue-blind)
#7F1F3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781867;
/* rgb */ color: rgb(120, 24, 103);
/* oklch */ color: oklch(40.4% 0.155 336.5);
Tailwind
colors: {
  custom: {
    50: '#a26192',
    500: '#781867',
    950: '#000000',
  },
}
SCSS
$custom: #781867;
$custom-light: #a26192;
$custom-dark: #000000;
JSON
{
  "hex": "#781867",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 310.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.15549,
    "h": 336.5
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#781867
secondary
#3FAD52
accent
#EA5D3E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #781867

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

Preview Lab → · Contrast checker → · Palette generator →

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