#78173D#78173D

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

Color values

HEX#78173D
RGBrgb(120, 23, 61)
HSLhsl(336, 68%, 28%)
HSVhsv(336, 81%, 47%)
CMYKcmyk(0%, 80.8%, 49.2%, 52.9%)
CIE-LABlab(26.57, 43.50, 2.27)
CIE-LCHlch(26.57, 43.56, 2.98°)
OKLaboklab(38.45% 0.1334 0.0063)
OKLCHoklch(38.45% 0.134 2.7)
XYZxyz(8.8952, 4.9440, 4.8999)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78173D #177852
analogous
#78176D #78173D #782217
triadic
#78173D #3D7817 #173D78
tetradic
#78173D #6D7817 #177852 #221778
square
#78173D #6D7817 #177852 #221778
split-complementary
#78173D #177822 #176D78
monochromatic
#1A050D #450D23 #78173D #AB2157 #D83273

Accessibility & contrast

On white

10.56
#78173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#78173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78173D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78173D#FFFFFF#000000##FFFFFF
##78173D1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333E
Deuteranopia (green-blind)
#49463B
Tritanopia (blue-blind)
#830028
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #78173d;
/* rgb */ color: rgb(120, 23, 61);
/* oklch */ color: oklch(38.4% 0.134 2.7);
Tailwind
colors: {
  custom: {
    50: '#a45f72',
    500: '#78173d',
    950: '#000000',
  },
}
SCSS
$custom: #78173d;
$custom-light: #a45f72;
$custom-dark: #000000;
JSON
{
  "hex": "#78173d",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 336.495,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38446,
    "c": 0.13354,
    "h": 2.7
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#78173D
secondary
#3EAD81
accent
#EBA73D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #78173D

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

Preview Lab → · Contrast checker → · Palette generator →

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