#781565#781565

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

Color values

HEX#781565
RGBrgb(120, 21, 101)
HSLhsl(312, 70%, 28%)
HSVhsv(312, 83%, 47%)
CMYKcmyk(0%, 82.5%, 15.8%, 52.9%)
CIE-LABlab(28.03, 49.06, -22.10)
CIE-LCHlch(28.03, 53.81, 335.75°)
OKLaboklab(40.05% 0.1451 -0.0601)
OKLCHoklch(40.05% 0.157 337.5)
XYZxyz(10.3631, 5.4700, 12.8194)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781565 #157828
analogous
#591578 #781565 #781534
triadic
#781565 #657815 #156578
tetradic
#781565 #785915 #157828 #153478
square
#781565 #785915 #157828 #153478
split-complementary
#781565 #347815 #157859
monochromatic
#1A0516 #440C39 #781565 #AC1E91 #DA2DB9

Accessibility & contrast

On white

10.03
#781565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781565
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781565#FFFFFF#000000##FFFFFF
##7815651.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193967
Deuteranopia (green-blind)
#3C4763
Tritanopia (blue-blind)
#7F1C3C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781565;
/* rgb */ color: rgb(120, 21, 101);
/* oklch */ color: oklch(40.1% 0.157 337.5);
Tailwind
colors: {
  custom: {
    50: '#a26091',
    500: '#781565',
    950: '#000000',
  },
}
SCSS
$custom: #781565;
$custom-light: #a26091;
$custom-dark: #000000;
JSON
{
  "hex": "#781565",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 311.515,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40051,
    "c": 0.15705,
    "h": 337.5
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#781565
secondary
#3BAE51
accent
#ED5D3B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781565

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

Preview Lab → · Contrast checker → · Palette generator →

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