#78173F#78173F

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

Color values

HEX#78173F
RGBrgb(120, 23, 63)
HSLhsl(335, 68%, 28%)
HSVhsv(335, 81%, 47%)
CMYKcmyk(0%, 80.8%, 47.5%, 52.9%)
CIE-LABlab(26.64, 43.69, 1.00)
CIE-LCHlch(26.64, 43.70, 1.31°)
OKLaboklab(38.51% 0.1341 0.0031)
OKLCHoklch(38.51% 0.134 1.3)
XYZxyz(8.9501, 4.9659, 5.1889)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78173F #177850
analogous
#78176F #78173F #782017
triadic
#78173F #3F7817 #173F78
tetradic
#78173F #6F7817 #177850 #201778
square
#78173F #6F7817 #177850 #201778
split-complementary
#78173F #177820 #176F78
monochromatic
#1A050D #450D24 #78173F #AB215A #D83276

Accessibility & contrast

On white

10.54
#78173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78173F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78173F#FFFFFF#000000##FFFFFF
##78173F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3340
Deuteranopia (green-blind)
#48463D
Tritanopia (blue-blind)
#830229
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #78173f;
/* rgb */ color: rgb(120, 23, 63);
/* oklch */ color: oklch(38.5% 0.134 1.3);
Tailwind
colors: {
  custom: {
    50: '#a45f73',
    500: '#78173f',
    950: '#000000',
  },
}
SCSS
$custom: #78173f;
$custom-light: #a45f73;
$custom-dark: #000000;
JSON
{
  "hex": "#78173f",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 335.258,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38513,
    "c": 0.13417,
    "h": 1.3
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#78173F
secondary
#3EAD7F
accent
#EBA33D
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #78173F

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

Preview Lab → · Contrast checker → · Palette generator →

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