#781748#781748

#781748 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 355.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#781748
RGBrgb(120, 23, 72)
HSLhsl(330, 68%, 28%)
HSVhsv(330, 81%, 47%)
CMYKcmyk(0%, 80.8%, 40%, 52.9%)
CIE-LABlab(26.95, 44.64, -4.61)
CIE-LCHlch(26.95, 44.88, 354.10°)
OKLaboklab(38.84% 0.1372 -0.0116)
OKLCHoklch(38.84% 0.138 355.2)
XYZxyz(9.2225, 5.0749, 6.6235)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781748 #177847
analogous
#771778 #781748 #781717
triadic
#781748 #487817 #174878
tetradic
#781748 #787717 #177847 #171778
square
#781748 #787717 #177847 #171778
split-complementary
#781748 #177817 #177877
monochromatic
#1A050F #450D29 #781748 #AB2167 #D83286

Accessibility & contrast

On white

10.42
#781748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781748
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781748#FFFFFF#000000##FFFFFF
##7817481.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3449
Deuteranopia (green-blind)
#464646
Tritanopia (blue-blind)
#82092D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781748;
/* rgb */ color: rgb(120, 23, 72);
/* oklch */ color: oklch(38.8% 0.138 355.2);
Tailwind
colors: {
  custom: {
    50: '#a35f7a',
    500: '#781748',
    950: '#000000',
  },
}
SCSS
$custom: #781748;
$custom-light: #a35f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#781748",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 329.691,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38841,
    "c": 0.13771,
    "h": 355.2
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#781748
secondary
#3EAD75
accent
#EB933D
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #781748

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

Preview Lab → · Contrast checker → · Palette generator →

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