#782117#782117

#782117 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.123 H 30.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#782117
RGBrgb(120, 33, 23)
HSLhsl(6, 68%, 28%)
HSVhsv(6, 81%, 47%)
CMYKcmyk(0%, 72.5%, 80.8%, 52.9%)
CIE-LABlab(27.14, 37.16, 27.99)
CIE-LCHlch(27.14, 46.53, 36.99°)
OKLaboklab(38.61% 0.1061 0.0615)
OKLCHoklch(38.61% 0.123 30.1)
XYZxyz(8.4452, 5.1439, 1.3586)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782117 #176E78
analogous
#78173D #782117 #785217
triadic
#782117 #177821 #211778
tetradic
#782117 #3D7817 #176E78 #521778
square
#782117 #3D7817 #176E78 #521778
split-complementary
#782117 #177852 #173D78
monochromatic
#1A0705 #45130D #782117 #AB2F21 #D84332

Accessibility & contrast

On white

10.35
#782117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#782117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782117
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782117#FFFFFF#000000##FFFFFF
##7821171.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782117;
/* rgb */ color: rgb(120, 33, 23);
/* oklch */ color: oklch(38.6% 0.123 30.1);
Tailwind
colors: {
  custom: {
    50: '#a66255',
    500: '#782117',
    950: '#000000',
  },
}
SCSS
$custom: #782117;
$custom-light: #a66255;
$custom-dark: #000000;
JSON
{
  "hex": "#782117",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 6.186,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38614,
    "c": 0.12258,
    "h": 30.1
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#782117
secondary
#3EA2AD
accent
#D9EB3D
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #782117

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

Preview Lab → · Contrast checker → · Palette generator →

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