#781960#781960

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

Color values

HEX#781960
RGBrgb(120, 25, 96)
HSLhsl(315, 66%, 28%)
HSVhsv(315, 79%, 47%)
CMYKcmyk(0%, 79.2%, 20%, 52.9%)
CIE-LABlab(28.20, 47.11, -18.58)
CIE-LCHlch(28.20, 50.64, 338.47°)
OKLaboklab(40.09% 0.1408 -0.0501)
OKLCHoklch(40.09% 0.149 340.4)
XYZxyz(10.2050, 5.5339, 11.5948)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781960 #197831
analogous
#601978 #781960 #781930
triadic
#781960 #607819 #196078
tetradic
#781960 #786019 #197831 #193078
square
#781960 #786019 #197831 #193078
split-complementary
#781960 #307819 #197860
monochromatic
#190514 #450E37 #781960 #AB2489 #D536AD

Accessibility & contrast

On white

9.97
#781960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#781960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781960
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781960#FFFFFF#000000##FFFFFF
##7819601.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213962
Deuteranopia (green-blind)
#40485E
Tritanopia (blue-blind)
#801C3B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781960;
/* rgb */ color: rgb(120, 25, 96);
/* oklch */ color: oklch(40.1% 0.149 340.4);
Tailwind
colors: {
  custom: {
    50: '#a2618d',
    500: '#781960',
    950: '#000000',
  },
}
SCSS
$custom: #781960;
$custom-light: #a2618d;
$custom-dark: #000000;
JSON
{
  "hex": "#781960",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 315.158,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.14946,
    "h": 340.4
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#781960
secondary
#40AD5C
accent
#E86A3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D

Preview Lab

Preview with #781960

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

Preview Lab → · Contrast checker → · Palette generator →

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