#78173A#78173A

#78173A is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.4% C 0.133 H 4.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#78173A
RGBrgb(120, 23, 58)
HSLhsl(338, 68%, 28%)
HSVhsv(338, 81%, 47%)
CMYKcmyk(0%, 80.8%, 51.7%, 52.9%)
CIE-LABlab(26.48, 43.22, 4.17)
CIE-LCHlch(26.48, 43.42, 5.51°)
OKLaboklab(38.35% 0.1322 0.011)
OKLCHoklch(38.35% 0.133 4.8)
XYZxyz(8.8166, 4.9126, 4.4861)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78173A #177855
analogous
#78176A #78173A #782517
triadic
#78173A #3A7817 #173A78
tetradic
#78173A #6A7817 #177855 #251778
square
#78173A #6A7817 #177855 #251778
split-complementary
#78173A #177825 #176A78
monochromatic
#1A050C #450D21 #78173A #AB2153 #D8326E

Accessibility & contrast

On white

10.59
#78173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#78173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78173A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78173A#FFFFFF#000000##FFFFFF
##78173A1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F323B
Deuteranopia (green-blind)
#494538
Tritanopia (blue-blind)
#830026
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #78173a;
/* rgb */ color: rgb(120, 23, 58);
/* oklch */ color: oklch(38.4% 0.133 4.8);
Tailwind
colors: {
  custom: {
    50: '#a45f6f',
    500: '#78173a',
    950: '#000000',
  },
}
SCSS
$custom: #78173a;
$custom-light: #a45f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#78173a",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 338.351,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3835,
    "c": 0.13269,
    "h": 4.8
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#78173A
secondary
#3EAD85
accent
#EBAC3D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #78173A

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

Preview Lab → · Contrast checker → · Palette generator →

#78173A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva