#782867#782867

#782867 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.135 H 337.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#782867
RGBrgb(120, 40, 103)
HSLhsl(313, 50%, 31%)
HSVhsv(313, 67%, 47%)
CMYKcmyk(0%, 66.7%, 14.2%, 52.9%)
CIE-LABlab(30.62, 42.37, -19.36)
CIE-LCHlch(30.62, 46.59, 335.44°)
OKLaboklab(41.96% 0.1244 -0.0525)
OKLCHoklch(41.96% 0.135 337.1)
XYZxyz(10.9529, 6.4909, 13.5053)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782867 #287839
analogous
#612878 #782867 #78283F
triadic
#782867 #677828 #286778
tetradic
#782867 #786128 #287839 #283F78
square
#782867 #786128 #287839 #283F78
split-complementary
#782867 #3F7828 #287861
monochromatic
#1C0918 #4A1940 #782867 #A6378E #C654AE

Accessibility & contrast

On white

9.14
#782867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#782867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782867
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782867#FFFFFF#000000##FFFFFF
##7828671.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4069
Deuteranopia (green-blind)
#434D65
Tritanopia (blue-blind)
#7E2C43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782867;
/* rgb */ color: rgb(120, 40, 103);
/* oklch */ color: oklch(42.0% 0.135 337.1);
Tailwind
colors: {
  custom: {
    50: '#a26892',
    500: '#782867',
    950: '#000000',
  },
}
SCSS
$custom: #782867;
$custom-light: #a26892;
$custom-dark: #000000;
JSON
{
  "hex": "#782867",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 312.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41956,
    "c": 0.13503,
    "h": 337.1
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#782867
secondary
#52AA65
accent
#DA6C4E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #782867

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

Preview Lab → · Contrast checker → · Palette generator →

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