#78173E#78173E

#78173E is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.5% C 0.134 H 2.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#78173E
RGBrgb(120, 23, 62)
HSLhsl(336, 68%, 28%)
HSVhsv(336, 81%, 47%)
CMYKcmyk(0%, 80.8%, 48.3%, 52.9%)
CIE-LABlab(26.61, 43.59, 1.63)
CIE-LCHlch(26.61, 43.62, 2.15°)
OKLaboklab(38.48% 0.1338 0.0047)
OKLCHoklch(38.48% 0.134 2)
XYZxyz(8.9224, 4.9549, 5.0430)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78173E #177851
analogous
#78176E #78173E #782017
triadic
#78173E #3E7817 #173E78
tetradic
#78173E #6E7817 #177851 #201778
square
#78173E #6E7817 #177851 #201778
split-complementary
#78173E #177820 #176E78
monochromatic
#1A050D #450D23 #78173E #AB2159 #D83274

Accessibility & contrast

On white

10.55
#78173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78173E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78173E#FFFFFF#000000##FFFFFF
##78173E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E333F
Deuteranopia (green-blind)
#48463C
Tritanopia (blue-blind)
#830128
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #78173e;
/* rgb */ color: rgb(120, 23, 62);
/* oklch */ color: oklch(38.5% 0.134 2.0);
Tailwind
colors: {
  custom: {
    50: '#a45f73',
    500: '#78173e',
    950: '#000000',
  },
}
SCSS
$custom: #78173e;
$custom-light: #a45f73;
$custom-dark: #000000;
JSON
{
  "hex": "#78173e",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 335.876,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38479,
    "c": 0.13385,
    "h": 2
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#78173E
secondary
#3EAD80
accent
#EBA53D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100508
muted
#7F797B

Preview Lab

Preview with #78173E

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

Preview Lab → · Contrast checker → · Palette generator →

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