#78172F#78172F

#78172F is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.131 H 12.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#78172F
RGBrgb(120, 23, 47)
HSLhsl(345, 68%, 28%)
HSVhsv(345, 81%, 47%)
CMYKcmyk(0%, 80.8%, 60.8%, 52.9%)
CIE-LABlab(26.19, 42.31, 11.24)
CIE-LCHlch(26.19, 43.77, 14.88°)
OKLaboklab(38.04% 0.1277 0.0279)
OKLCHoklch(38.04% 0.131 12.3)
XYZxyz(8.5661, 4.8124, 3.1666)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78172F #177860
analogous
#78175F #78172F #783017
triadic
#78172F #2F7817 #172F78
tetradic
#78172F #5F7817 #177860 #301778
square
#78172F #5F7817 #177860 #301778
split-complementary
#78172F #177830 #175F78
monochromatic
#1A050A #450D1B #78172F #AB2143 #D8325B

Accessibility & contrast

On white

10.70
#78172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#78172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78172F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78172F#FFFFFF#000000##FFFFFF
##78172F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312F
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #78172f;
/* rgb */ color: rgb(120, 23, 47);
/* oklch */ color: oklch(38.0% 0.131 12.3);
Tailwind
colors: {
  custom: {
    50: '#a55e67',
    500: '#78172f',
    950: '#000000',
  },
}
SCSS
$custom: #78172f;
$custom-light: #a55e67;
$custom-dark: #000000;
JSON
{
  "hex": "#78172f",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 345.155,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38041,
    "c": 0.13073,
    "h": 12.3
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#78172F
secondary
#3EAD92
accent
#EBC03D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #78172F

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

Preview Lab → · Contrast checker → · Palette generator →

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