#781F17#781F17

#781F17 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.124 H 29.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#781F17
RGBrgb(120, 31, 23)
HSLhsl(5, 68%, 28%)
HSVhsv(5, 81%, 47%)
CMYKcmyk(0%, 74.2%, 80.8%, 52.9%)
CIE-LABlab(26.84, 37.99, 27.67)
CIE-LCHlch(26.84, 47.00, 36.07°)
OKLaboklab(38.39% 0.1087 0.0608)
OKLCHoklch(38.39% 0.125 29.2)
XYZxyz(8.3913, 5.0362, 1.3407)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F17 #177078
analogous
#781740 #781F17 #784F17
triadic
#781F17 #17781F #1F1778
tetradic
#781F17 #407817 #177078 #4F1778
square
#781F17 #407817 #177078 #4F1778
split-complementary
#781F17 #17784F #174078
monochromatic
#1A0705 #45120D #781F17 #AB2C21 #D83F32

Accessibility & contrast

On white

10.46
#781F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F17
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F17#FFFFFF#000000##FFFFFF
##781F171.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#4F4713
Tritanopia (blue-blind)
#85001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781f17;
/* rgb */ color: rgb(120, 31, 23);
/* oklch */ color: oklch(38.4% 0.124 29.2);
Tailwind
colors: {
  custom: {
    50: '#a66155',
    500: '#781f17',
    950: '#000000',
  },
}
SCSS
$custom: #781f17;
$custom-light: #a66155;
$custom-dark: #000000;
JSON
{
  "hex": "#781f17",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4.948,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.1245,
    "h": 29.2
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#781F17
secondary
#3EA4AD
accent
#DCEB3D
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110503
muted
#807A78

Preview Lab

Preview with #781F17

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

Preview Lab → · Contrast checker → · Palette generator →

#781F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva