#79271A#79271A

#79271A is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.6% C 0.117 H 31.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#79271A
RGBrgb(121, 39, 26)
HSLhsl(8, 65%, 29%)
HSVhsv(8, 79%, 47%)
CMYKcmyk(0%, 67.8%, 78.5%, 52.5%)
CIE-LABlab(28.36, 34.98, 27.56)
CIE-LCHlch(28.36, 44.53, 38.24°)
OKLaboklab(39.57% 0.0998 0.0613)
OKLCHoklch(39.57% 0.117 31.6)
XYZxyz(8.7981, 5.5918, 1.5931)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79271A #1A6C79
analogous
#791A3D #79271A #79571A
triadic
#79271A #1A7927 #271A79
tetradic
#79271A #3D791A #1A6C79 #571A79
square
#79271A #3D791A #1A6C79 #571A79
split-complementary
#79271A #1A7957 #1A3D79
monochromatic
#190805 #47170F #79271A #AB3725 #D44E39

Accessibility & contrast

On white

9.91
#79271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#79271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79271A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79271A#FFFFFF#000000##FFFFFF
##79271A1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3718
Deuteranopia (green-blind)
#524A17
Tritanopia (blue-blind)
#861125
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #79271a;
/* rgb */ color: rgb(121, 39, 26);
/* oklch */ color: oklch(39.6% 0.117 31.6);
Tailwind
colors: {
  custom: {
    50: '#a76657',
    500: '#79271a',
    950: '#000000',
  },
}
SCSS
$custom: #79271a;
$custom-light: #a76657;
$custom-dark: #000000;
JSON
{
  "hex": "#79271a",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 8.211,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.11711,
    "h": 31.6
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#79271A
secondary
#419FAD
accent
#D1E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #79271A

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

Preview Lab → · Contrast checker → · Palette generator →

#79271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva