#791818#791818

#791818 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.9% C 0.132 H 26.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#791818
RGBrgb(121, 24, 24)
HSLhsl(0, 67%, 28%)
HSVhsv(0, 80%, 47%)
CMYKcmyk(0%, 80.2%, 80.2%, 52.5%)
CIE-LABlab(26.11, 40.99, 26.36)
CIE-LCHlch(26.11, 48.73, 32.75°)
OKLaboklab(37.89% 0.1182 0.0581)
OKLCHoklch(37.89% 0.132 26.2)
XYZxyz(8.3777, 4.7855, 1.3466)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791818 #187979
analogous
#791848 #791818 #794818
triadic
#791818 #187918 #181879
tetradic
#791818 #487918 #187979 #481879
square
#791818 #487918 #187979 #481879
split-complementary
#791818 #187948 #184879
monochromatic
#1A0505 #460E0E #791818 #AC2222 #D73535

Accessibility & contrast

On white

10.73
#791818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#791818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791818
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791818#FFFFFF#000000##FFFFFF
##7918181.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363017
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#860019
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #791818;
/* rgb */ color: rgb(121, 24, 24);
/* oklch */ color: oklch(37.9% 0.132 26.2);
Tailwind
colors: {
  custom: {
    50: '#a85e55',
    500: '#791818',
    950: '#000000',
  },
}
SCSS
$custom: #791818;
$custom-light: #a85e55;
$custom-dark: #000000;
JSON
{
  "hex": "#791818",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37889,
    "c": 0.1317,
    "h": 26.2
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#791818
secondary
#3FAEAE
accent
#EAEA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #791818

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

Preview Lab → · Contrast checker → · Palette generator →

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