#791517#791517

#791517 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.6% C 0.134 H 25.8°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#791517
RGBrgb(121, 21, 23)
HSLhsl(359, 70%, 28%)
HSVhsv(359, 83%, 47%)
CMYKcmyk(0%, 82.6%, 81%, 52.5%)
CIE-LABlab(25.76, 41.92, 26.60)
CIE-LCHlch(25.76, 49.65, 32.39°)
OKLaboklab(37.62% 0.1209 0.0584)
OKLCHoklch(37.62% 0.134 25.8)
XYZxyz(8.3090, 4.6645, 1.2733)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791517 #157977
analogous
#791549 #791517 #794515
triadic
#791517 #177915 #151779
tetradic
#791517 #497915 #157977 #451579
square
#791517 #497915 #157977 #451579
split-complementary
#791517 #157945 #154979
monochromatic
#1A0505 #450C0D #791517 #AD1E21 #DB2E31

Accessibility & contrast

On white

10.87
#791517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#791517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791517
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791517#FFFFFF#000000##FFFFFF
##7915171.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F16
Deuteranopia (green-blind)
#4D4513
Tritanopia (blue-blind)
#860017
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #791517;
/* rgb */ color: rgb(121, 21, 23);
/* oklch */ color: oklch(37.6% 0.134 25.8);
Tailwind
colors: {
  custom: {
    50: '#a85d54',
    500: '#791517',
    950: '#000000',
  },
}
SCSS
$custom: #791517;
$custom-light: #a85d54;
$custom-dark: #000000;
JSON
{
  "hex": "#791517",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 358.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.13424,
    "h": 25.8
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#791517
secondary
#3BAFAC
accent
#EDEA3B
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#110502
muted
#807978

Preview Lab

Preview with #791517

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

Preview Lab → · Contrast checker → · Palette generator →

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