#782017#782017

#782017 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.5% C 0.124 H 29.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#782017
RGBrgb(120, 32, 23)
HSLhsl(6, 68%, 28%)
HSVhsv(6, 81%, 47%)
CMYKcmyk(0%, 73.3%, 80.8%, 52.9%)
CIE-LABlab(26.99, 37.58, 27.83)
CIE-LCHlch(26.99, 46.77, 36.52°)
OKLaboklab(38.5% 0.1074 0.0611)
OKLCHoklch(38.5% 0.124 29.7)
XYZxyz(8.4179, 5.0892, 1.3495)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782017 #176F78
analogous
#78173E #782017 #785017
triadic
#782017 #177820 #201778
tetradic
#782017 #3E7817 #176F78 #501778
square
#782017 #3E7817 #176F78 #501778
split-complementary
#782017 #177850 #173E78
monochromatic
#1A0705 #45120D #782017 #AB2E21 #D84132

Accessibility & contrast

On white

10.41
#782017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#782017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782017
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782017#FFFFFF#000000##FFFFFF
##7820171.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3315
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#85001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #782017;
/* rgb */ color: rgb(120, 32, 23);
/* oklch */ color: oklch(38.5% 0.124 29.7);
Tailwind
colors: {
  custom: {
    50: '#a66255',
    500: '#782017',
    950: '#000000',
  },
}
SCSS
$custom: #782017;
$custom-light: #a66255;
$custom-dark: #000000;
JSON
{
  "hex": "#782017",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 5.567,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38499,
    "c": 0.12355,
    "h": 29.7
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#782017
secondary
#3EA3AD
accent
#DBEB3D
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #782017

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

Preview Lab → · Contrast checker → · Palette generator →

#782017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva