#781F18#781F18

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

Color values

HEX#781F18
RGBrgb(120, 31, 24)
HSLhsl(4, 67%, 28%)
HSVhsv(4, 80%, 47%)
CMYKcmyk(0%, 74.2%, 80%, 52.9%)
CIE-LABlab(26.85, 38.03, 27.08)
CIE-LCHlch(26.85, 46.69, 35.46°)
OKLaboklab(38.4% 0.109 0.0598)
OKLCHoklch(38.4% 0.124 28.8)
XYZxyz(8.4016, 5.0403, 1.3945)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F18 #187178
analogous
#781841 #781F18 #784F18
triadic
#781F18 #18781F #1F1878
tetradic
#781F18 #417818 #187178 #4F1878
square
#781F18 #417818 #187178 #4F1878
split-complementary
#781F18 #18784F #184178
monochromatic
#1A0705 #45120E #781F18 #AB2C22 #D64034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781F18#FFFFFF#000000##FFFFFF
##781F181.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)
#393316
Deuteranopia (green-blind)
#4F4714
Tritanopia (blue-blind)
#85001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781f18;
/* rgb */ color: rgb(120, 31, 24);
/* oklch */ color: oklch(38.4% 0.124 28.8);
Tailwind
colors: {
  custom: {
    50: '#a66155',
    500: '#781f18',
    950: '#000000',
  },
}
SCSS
$custom: #781f18;
$custom-light: #a66155;
$custom-dark: #000000;
JSON
{
  "hex": "#781f18",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 4.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38399,
    "c": 0.12433,
    "h": 28.8
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#781F18
secondary
#3FA5AD
accent
#DDEA3E
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #781F18

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

Preview Lab → · Contrast checker → · Palette generator →

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