#781F4B#781F4B

#781F4B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 354.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#781F4B
RGBrgb(120, 31, 75)
HSLhsl(330, 59%, 30%)
HSVhsv(330, 74%, 47%)
CMYKcmyk(0%, 74.2%, 37.5%, 52.9%)
CIE-LABlab(28.07, 42.15, -4.95)
CIE-LCHlch(28.07, 42.44, 353.31°)
OKLaboklab(39.7% 0.1292 -0.0125)
OKLCHoklch(39.7% 0.13 354.5)
XYZxyz(9.5063, 5.4822, 7.2128)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F4B #1F784C
analogous
#781F78 #781F4B #78201F
triadic
#781F4B #4B781F #1F4B78
tetradic
#781F4B #78781F #1F784C #201F78
square
#781F4B #78781F #1F784C #201F78
split-complementary
#781F4B #1F7820 #1F7878
monochromatic
#18060F #47122D #781F4B #A92C69 #CE4388

Accessibility & contrast

On white

10.02
#781F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#781F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F4B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F4B#FFFFFF#000000##FFFFFF
##781F4B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384C
Deuteranopia (green-blind)
#484849
Tritanopia (blue-blind)
#821732
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781f4b;
/* rgb */ color: rgb(120, 31, 75);
/* oklch */ color: oklch(39.7% 0.130 354.5);
Tailwind
colors: {
  custom: {
    50: '#a3637d',
    500: '#781f4b',
    950: '#000000',
  },
}
SCSS
$custom: #781f4b;
$custom-light: #a3637d;
$custom-dark: #000000;
JSON
{
  "hex": "#781f4b",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 330.337,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.12977,
    "h": 354.5
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#781F4B
secondary
#47AB7A
accent
#E29546
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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