#781F64#781F64

#781F64 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.145 H 338.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#781F64
RGBrgb(120, 31, 100)
HSLhsl(313, 59%, 30%)
HSVhsv(313, 74%, 47%)
CMYKcmyk(0%, 74.2%, 16.7%, 52.9%)
CIE-LABlab(29.14, 45.60, -19.72)
CIE-LCHlch(29.14, 49.69, 336.61°)
OKLaboklab(40.84% 0.135 -0.0534)
OKLCHoklch(40.84% 0.145 338.4)
XYZxyz(10.5362, 5.8941, 12.6369)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F64 #1F7833
analogous
#601F78 #781F64 #781F38
triadic
#781F64 #64781F #1F6478
tetradic
#781F64 #78601F #1F7833 #1F3878
square
#781F64 #78601F #1F7833 #1F3878
split-complementary
#781F64 #38781F #1F7860
monochromatic
#180614 #47123B #781F64 #A92C8D #CE43AF

Accessibility & contrast

On white

9.64
#781F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#781F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F64
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F64#FFFFFF#000000##FFFFFF
##781F641.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233C66
Deuteranopia (green-blind)
#404A62
Tritanopia (blue-blind)
#7F233F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781f64;
/* rgb */ color: rgb(120, 31, 100);
/* oklch */ color: oklch(40.8% 0.145 338.4);
Tailwind
colors: {
  custom: {
    50: '#a26490',
    500: '#781f64',
    950: '#000000',
  },
}
SCSS
$custom: #781f64;
$custom-light: #a26490;
$custom-dark: #000000;
JSON
{
  "hex": "#781f64",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 313.483,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.14521,
    "h": 338.4
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#781F64
secondary
#47AB5E
accent
#E26946
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781F64

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

Preview Lab → · Contrast checker → · Palette generator →

#781F64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva