#781F5F#781F5F

#781F5F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.142 H 341.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#781F5F
RGBrgb(120, 31, 95)
HSLhsl(317, 59%, 30%)
HSVhsv(317, 74%, 47%)
CMYKcmyk(0%, 74.2%, 20.8%, 52.9%)
CIE-LABlab(28.90, 44.85, -16.85)
CIE-LCHlch(28.90, 47.91, 339.41°)
OKLaboklab(40.58% 0.1342 -0.0453)
OKLCHoklch(40.58% 0.142 341.3)
XYZxyz(10.3016, 5.8003, 11.4013)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F5F #1F7838
analogous
#651F78 #781F5F #781F33
triadic
#781F5F #5F781F #1F5F78
tetradic
#781F5F #78651F #1F7838 #1F3378
square
#781F5F #78651F #1F7838 #1F3378
split-complementary
#781F5F #33781F #1F7865
monochromatic
#180613 #471238 #781F5F #A92C86 #CE43A7

Accessibility & contrast

On white

9.72
#781F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#781F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F5F
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F5F#FFFFFF#000000##FFFFFF
##781F5F1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#42495D
Tritanopia (blue-blind)
#80213C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781f5f;
/* rgb */ color: rgb(120, 31, 95);
/* oklch */ color: oklch(40.6% 0.142 341.3);
Tailwind
colors: {
  custom: {
    50: '#a2638c',
    500: '#781f5f',
    950: '#000000',
  },
}
SCSS
$custom: #781f5f;
$custom-light: #a2638c;
$custom-dark: #000000;
JSON
{
  "hex": "#781f5f",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 316.854,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40582,
    "c": 0.14164,
    "h": 341.3
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#781F5F
secondary
#47AB63
accent
#E27246
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #781F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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