#79271C#79271C

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

Color values

HEX#79271C
RGBrgb(121, 39, 28)
HSLhsl(7, 62%, 29%)
HSVhsv(7, 77%, 47%)
CMYKcmyk(0%, 67.8%, 76.9%, 52.5%)
CIE-LABlab(28.38, 35.07, 26.39)
CIE-LCHlch(28.38, 43.89, 36.96°)
OKLaboklab(39.6% 0.1005 0.0593)
OKLCHoklch(39.6% 0.117 30.5)
XYZxyz(8.8212, 5.6011, 1.7150)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79271C #1C6E79
analogous
#791C40 #79271C #79561C
triadic
#79271C #1C7927 #271C79
tetradic
#79271C #40791C #1C6E79 #561C79
square
#79271C #40791C #1C6E79 #561C79
split-complementary
#79271C #1C7956 #1C4079
monochromatic
#190806 #471710 #79271C #AB3728 #D24F3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79271C#FFFFFF#000000##FFFFFF
##79271C1.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)
#3E381A
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#851125
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #79271c;
/* rgb */ color: rgb(121, 39, 28);
/* oklch */ color: oklch(39.6% 0.117 30.5);
Tailwind
colors: {
  custom: {
    50: '#a66659',
    500: '#79271c',
    950: '#000000',
  },
}
SCSS
$custom: #79271c;
$custom-light: #a66659;
$custom-dark: #000000;
JSON
{
  "hex": "#79271c",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 7.097,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39601,
    "c": 0.11668,
    "h": 30.5
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#79271C
secondary
#44A1AD
accent
#D2E542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #79271C

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

Preview Lab → · Contrast checker → · Palette generator →

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