#781548#781548

#781548 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.140 H 354.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#781548
RGBrgb(120, 21, 72)
HSLhsl(329, 70%, 28%)
HSVhsv(329, 83%, 47%)
CMYKcmyk(0%, 82.5%, 40%, 52.9%)
CIE-LABlab(26.73, 45.26, -4.93)
CIE-LCHlch(26.73, 45.53, 353.78°)
OKLaboklab(38.68% 0.1392 -0.0124)
OKLCHoklch(38.68% 0.14 354.9)
XYZxyz(9.1842, 4.9985, 6.6108)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781548 #157845
analogous
#771578 #781548 #781516
triadic
#781548 #487815 #154878
tetradic
#781548 #787715 #157845 #151678
square
#781548 #787715 #157845 #151678
split-complementary
#781548 #167815 #157877
monochromatic
#1A0510 #440C29 #781548 #AC1E67 #DA2D86

Accessibility & contrast

On white

10.50
#781548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#781548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781548
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781548#FFFFFF#000000##FFFFFF
##7815481.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3449
Deuteranopia (green-blind)
#464646
Tritanopia (blue-blind)
#82062D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781548;
/* rgb */ color: rgb(120, 21, 72);
/* oklch */ color: oklch(38.7% 0.140 354.9);
Tailwind
colors: {
  custom: {
    50: '#a35f7a',
    500: '#781548',
    950: '#000000',
  },
}
SCSS
$custom: #781548;
$custom-light: #a35f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#781548",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 329.091,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38682,
    "c": 0.13975,
    "h": 354.9
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#781548
secondary
#3BAE73
accent
#ED913B
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #781548

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

Preview Lab → · Contrast checker → · Palette generator →

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