#781F47#781F47

#781F47 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.128 H 357.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#781F47
RGBrgb(120, 31, 71)
HSLhsl(333, 59%, 30%)
HSVhsv(333, 74%, 47%)
CMYKcmyk(0%, 74.2%, 40.8%, 52.9%)
CIE-LABlab(27.92, 41.68, -2.49)
CIE-LCHlch(27.92, 41.76, 356.58°)
OKLaboklab(39.55% 0.1278 -0.006)
OKLCHoklch(39.55% 0.128 357.3)
XYZxyz(9.3737, 5.4291, 6.5143)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F47 #1F7850
analogous
#781F73 #781F47 #78241F
triadic
#781F47 #47781F #1F4778
tetradic
#781F47 #73781F #1F7850 #241F78
square
#781F47 #73781F #1F7850 #241F78
split-complementary
#781F47 #1F7824 #1F7378
monochromatic
#18060E #47122A #781F47 #A92C64 #CE4382

Accessibility & contrast

On white

10.07
#781F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#781F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F47
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F47#FFFFFF#000000##FFFFFF
##781F471.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#821530
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781f47;
/* rgb */ color: rgb(120, 31, 71);
/* oklch */ color: oklch(39.5% 0.128 357.3);
Tailwind
colors: {
  custom: {
    50: '#a3637a',
    500: '#781f47',
    950: '#000000',
  },
}
SCSS
$custom: #781f47;
$custom-light: #a3637a;
$custom-dark: #000000;
JSON
{
  "hex": "#781f47",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 333.034,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39545,
    "c": 0.12797,
    "h": 357.3
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#781F47
secondary
#47AB7E
accent
#E29C46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781F47

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

Preview Lab → · Contrast checker → · Palette generator →

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