#791718#791718

#791718 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.8% C 0.133 H 25.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#791718
RGBrgb(121, 23, 24)
HSLhsl(359, 68%, 28%)
HSVhsv(359, 81%, 47%)
CMYKcmyk(0%, 81%, 80.2%, 52.5%)
CIE-LABlab(26.00, 41.32, 26.23)
CIE-LCHlch(26.00, 48.95, 32.41°)
OKLaboklab(37.8% 0.1192 0.0579)
OKLCHoklch(37.8% 0.133 25.9)
XYZxyz(8.3574, 4.7450, 1.3398)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791718 #177978
analogous
#791749 #791718 #794717
triadic
#791718 #187917 #171879
tetradic
#791718 #497917 #177978 #471779
square
#791718 #497917 #177978 #471779
split-complementary
#791718 #177947 #174979
monochromatic
#1A0505 #460D0E #791718 #AC2122 #D83234

Accessibility & contrast

On white

10.78
#791718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#791718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791718
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791718#FFFFFF#000000##FFFFFF
##7917181.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.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: #791718;
/* rgb */ color: rgb(121, 23, 24);
/* oklch */ color: oklch(37.8% 0.133 25.9);
Tailwind
colors: {
  custom: {
    50: '#a85e55',
    500: '#791718',
    950: '#000000',
  },
}
SCSS
$custom: #791718;
$custom-light: #a85e55;
$custom-dark: #000000;
JSON
{
  "hex": "#791718",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 359.388,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37801,
    "c": 0.13253,
    "h": 25.9
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#791718
secondary
#3EAEAD
accent
#EBE93D
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978

Preview Lab

Preview with #791718

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

Preview Lab → · Contrast checker → · Palette generator →

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