#781567#781567

#781567 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.2% C 0.158 H 336.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#781567
RGBrgb(120, 21, 103)
HSLhsl(310, 70%, 28%)
HSVhsv(310, 83%, 47%)
CMYKcmyk(0%, 82.5%, 14.2%, 52.9%)
CIE-LABlab(28.14, 49.37, -23.23)
CIE-LCHlch(28.14, 54.56, 334.80°)
OKLaboklab(40.16% 0.1453 -0.0634)
OKLCHoklch(40.16% 0.158 336.4)
XYZxyz(10.4623, 5.5097, 13.3418)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781567 #157826
analogous
#571578 #781567 #781535
triadic
#781567 #677815 #156778
tetradic
#781567 #785715 #157826 #153578
square
#781567 #785715 #157826 #153578
split-complementary
#781567 #357815 #157857
monochromatic
#1A0516 #440C3A #781567 #AC1E94 #DA2DBD

Accessibility & contrast

On white

9.99
#781567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781567
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781567#FFFFFF#000000##FFFFFF
##7815671.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173969
Deuteranopia (green-blind)
#3C4865
Tritanopia (blue-blind)
#7F1D3D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781567;
/* rgb */ color: rgb(120, 21, 103);
/* oklch */ color: oklch(40.2% 0.158 336.4);
Tailwind
colors: {
  custom: {
    50: '#a26092',
    500: '#781567',
    950: '#000000',
  },
}
SCSS
$custom: #781567;
$custom-light: #a26092;
$custom-dark: #000000;
JSON
{
  "hex": "#781567",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 310.303,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40162,
    "c": 0.15848,
    "h": 336.4
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#781567
secondary
#3BAE4F
accent
#ED593B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #781567

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

Preview Lab → · Contrast checker → · Palette generator →

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