#79271F#79271F

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

Color values

HEX#79271F
RGBrgb(121, 39, 31)
HSLhsl(5, 59%, 30%)
HSVhsv(5, 74%, 47%)
CMYKcmyk(0%, 67.8%, 74.4%, 52.5%)
CIE-LABlab(28.42, 35.22, 24.59)
CIE-LCHlch(28.42, 42.96, 34.92°)
OKLaboklab(39.64% 0.1016 0.0561)
OKLCHoklch(39.64% 0.116 28.9)
XYZxyz(8.8589, 5.6162, 1.9136)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79271F #1F7179
analogous
#791F44 #79271F #79541F
triadic
#79271F #1F7927 #271F79
tetradic
#79271F #44791F #1F7179 #541F79
square
#79271F #44791F #1F7179 #541F79
split-complementary
#79271F #1F7954 #1F4479
monochromatic
#180806 #481713 #79271F #AA372B #CF5043

Accessibility & contrast

On white

9.89
#79271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79271F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79271F#FFFFFF#000000##FFFFFF
##79271F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381E
Deuteranopia (green-blind)
#524A1C
Tritanopia (blue-blind)
#851226
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #79271f;
/* rgb */ color: rgb(121, 39, 31);
/* oklch */ color: oklch(39.6% 0.116 28.9);
Tailwind
colors: {
  custom: {
    50: '#a6665b',
    500: '#79271f',
    950: '#000000',
  },
}
SCSS
$custom: #79271f;
$custom-light: #a6665b;
$custom-dark: #000000;
JSON
{
  "hex": "#79271f",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 5.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39643,
    "c": 0.11607,
    "h": 28.9
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#79271F
secondary
#47A3AC
accent
#D4E245
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #79271F

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

Preview Lab → · Contrast checker → · Palette generator →

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