#792817#792817

#792817 is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.7% C 0.117 H 33.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#792817
RGBrgb(121, 40, 23)
HSLhsl(10, 68%, 28%)
HSVhsv(10, 81%, 47%)
CMYKcmyk(0%, 66.9%, 81%, 52.5%)
CIE-LABlab(28.50, 34.38, 29.46)
CIE-LCHlch(28.50, 45.28, 40.60°)
OKLaboklab(39.67% 0.0973 0.0646)
OKLCHoklch(39.67% 0.117 33.6)
XYZxyz(8.7996, 5.6457, 1.4368)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792817 #176879
analogous
#791737 #792817 #795917
triadic
#792817 #177928 #281779
tetradic
#792817 #377917 #176879 #591779
square
#792817 #377917 #176879 #591779
split-complementary
#792817 #177959 #173779
monochromatic
#1A0805 #46170D #792817 #AC3921 #D84F32

Accessibility & contrast

On white

9.86
#792817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#792817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792817
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792817#FFFFFF#000000##FFFFFF
##7928171.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#861225
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #792817;
/* rgb */ color: rgb(121, 40, 23);
/* oklch */ color: oklch(39.7% 0.117 33.6);
Tailwind
colors: {
  custom: {
    50: '#a76655',
    500: '#792817',
    950: '#000000',
  },
}
SCSS
$custom: #792817;
$custom-light: #a76655;
$custom-dark: #000000;
JSON
{
  "hex": "#792817",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 10.408,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39671,
    "c": 0.11676,
    "h": 33.6
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#792817
secondary
#3E9BAE
accent
#CDEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #792817

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

Preview Lab → · Contrast checker → · Palette generator →

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