#781767#781767

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

Color values

HEX#781767
RGBrgb(120, 23, 103)
HSLhsl(311, 68%, 28%)
HSVhsv(311, 81%, 47%)
CMYKcmyk(0%, 80.8%, 14.2%, 52.9%)
CIE-LABlab(28.34, 48.78, -22.92)
CIE-LCHlch(28.34, 53.90, 334.84°)
OKLaboklab(40.31% 0.1435 -0.0625)
OKLCHoklch(40.31% 0.157 336.5)
XYZxyz(10.5005, 5.5861, 13.3545)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781767 #177828
analogous
#581778 #781767 #781737
triadic
#781767 #677817 #176778
tetradic
#781767 #785817 #177828 #173778
square
#781767 #785817 #177828 #173778
split-complementary
#781767 #377817 #177858
monochromatic
#1A0516 #450D3B #781767 #AB2193 #D832BB

Accessibility & contrast

On white

9.92
#781767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#781767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781767
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781767#FFFFFF#000000##FFFFFF
##7817671.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A69
Deuteranopia (green-blind)
#3C4865
Tritanopia (blue-blind)
#7F1E3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781767;
/* rgb */ color: rgb(120, 23, 103);
/* oklch */ color: oklch(40.3% 0.157 336.5);
Tailwind
colors: {
  custom: {
    50: '#a26192',
    500: '#781767',
    950: '#000000',
  },
}
SCSS
$custom: #781767;
$custom-light: #a26192;
$custom-dark: #000000;
JSON
{
  "hex": "#781767",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 310.515,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.15653,
    "h": 336.5
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#781767
secondary
#3EAD51
accent
#EB5C3D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #781767

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

Preview Lab → · Contrast checker → · Palette generator →

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