#781F48#781F48

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

Color values

HEX#781F48
RGBrgb(120, 31, 72)
HSLhsl(332, 59%, 30%)
HSVhsv(332, 74%, 47%)
CMYKcmyk(0%, 74.2%, 40%, 52.9%)
CIE-LABlab(27.96, 41.80, -3.11)
CIE-LCHlch(27.96, 41.91, 355.75°)
OKLaboklab(39.58% 0.1282 -0.0076)
OKLCHoklch(39.58% 0.128 356.6)
XYZxyz(9.4060, 5.4421, 6.6847)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F48 #1F784F
analogous
#781F74 #781F48 #78231F
triadic
#781F48 #48781F #1F4878
tetradic
#781F48 #74781F #1F784F #231F78
square
#781F48 #74781F #1F784F #231F78
split-complementary
#781F48 #1F7823 #1F7478
monochromatic
#18060F #47122B #781F48 #A92C65 #CE4383

Accessibility & contrast

On white

10.06
#781F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F48
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F48#FFFFFF#000000##FFFFFF
##781F481.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781f48;
/* rgb */ color: rgb(120, 31, 72);
/* oklch */ color: oklch(39.6% 0.128 356.6);
Tailwind
colors: {
  custom: {
    50: '#a3637a',
    500: '#781f48',
    950: '#000000',
  },
}
SCSS
$custom: #781f48;
$custom-light: #a3637a;
$custom-dark: #000000;
JSON
{
  "hex": "#781f48",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 332.36,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39583,
    "c": 0.1284,
    "h": 356.6
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#781F48
secondary
#47AB7D
accent
#E29A46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781F48

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

Preview Lab → · Contrast checker → · Palette generator →

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