#78173C#78173C

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

Color values

HEX#78173C
RGBrgb(120, 23, 60)
HSLhsl(337, 68%, 28%)
HSVhsv(337, 81%, 47%)
CMYKcmyk(0%, 80.8%, 50%, 52.9%)
CIE-LABlab(26.54, 43.40, 2.90)
CIE-LCHlch(26.54, 43.50, 3.82°)
OKLaboklab(38.41% 0.133 0.0079)
OKLCHoklch(38.41% 0.133 3.4)
XYZxyz(8.8685, 4.9333, 4.7593)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78173C #177853
analogous
#78176C #78173C #782217
triadic
#78173C #3C7817 #173C78
tetradic
#78173C #6C7817 #177853 #221778
square
#78173C #6C7817 #177853 #221778
split-complementary
#78173C #177822 #176C78
monochromatic
#1A050D #450D22 #78173C #AB2156 #D83271

Accessibility & contrast

On white

10.57
#78173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78173C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78173C#FFFFFF#000000##FFFFFF
##78173C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333D
Deuteranopia (green-blind)
#49463A
Tritanopia (blue-blind)
#830027
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #78173c;
/* rgb */ color: rgb(120, 23, 60);
/* oklch */ color: oklch(38.4% 0.133 3.4);
Tailwind
colors: {
  custom: {
    50: '#a45f71',
    500: '#78173c',
    950: '#000000',
  },
}
SCSS
$custom: #78173c;
$custom-light: #a45f71;
$custom-dark: #000000;
JSON
{
  "hex": "#78173c",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 337.113,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38413,
    "c": 0.13324,
    "h": 3.4
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#78173C
secondary
#3EAD83
accent
#EBA83D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #78173C

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

Preview Lab → · Contrast checker → · Palette generator →

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