#781948#781948

#781948 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 355.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#781948
RGBrgb(120, 25, 72)
HSLhsl(330, 66%, 28%)
HSVhsv(330, 79%, 47%)
CMYKcmyk(0%, 79.2%, 40%, 52.9%)
CIE-LABlab(27.18, 43.99, -4.27)
CIE-LCHlch(27.18, 44.19, 354.46°)
OKLaboklab(39.01% 0.1351 -0.0107)
OKLCHoklch(39.01% 0.136 355.5)
XYZxyz(9.2637, 5.1574, 6.6373)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781948 #197849
analogous
#781977 #781948 #781A19
triadic
#781948 #487819 #194878
tetradic
#781948 #777819 #197849 #1A1978
square
#781948 #777819 #197849 #1A1978
split-complementary
#781948 #19781A #197778
monochromatic
#19050F #450E2A #781948 #AB2466 #D53685

Accessibility & contrast

On white

10.34
#781948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#781948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781948
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781948#FFFFFF#000000##FFFFFF
##7819481.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3549
Deuteranopia (green-blind)
#474746
Tritanopia (blue-blind)
#820D2E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781948;
/* rgb */ color: rgb(120, 25, 72);
/* oklch */ color: oklch(39.0% 0.136 355.5);
Tailwind
colors: {
  custom: {
    50: '#a3607a',
    500: '#781948',
    950: '#000000',
  },
}
SCSS
$custom: #781948;
$custom-light: #a3607a;
$custom-dark: #000000;
JSON
{
  "hex": "#781948",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 330.316,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3901,
    "c": 0.13555,
    "h": 355.5
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#781948
secondary
#40AD77
accent
#E8953F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #781948

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

Preview Lab → · Contrast checker → · Palette generator →

#781948 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva