#79271B#79271B

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

Color values

HEX#79271B
RGBrgb(121, 39, 27)
HSLhsl(8, 64%, 29%)
HSVhsv(8, 78%, 47%)
CMYKcmyk(0%, 67.8%, 77.7%, 52.5%)
CIE-LABlab(28.37, 35.03, 26.98)
CIE-LCHlch(28.37, 44.21, 37.61°)
OKLaboklab(39.59% 0.1001 0.0603)
OKLCHoklch(39.59% 0.117 31.1)
XYZxyz(8.8095, 5.5964, 1.6530)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79271B #1B6D79
analogous
#791B3E #79271B #79561B
triadic
#79271B #1B7927 #271B79
tetradic
#79271B #3E791B #1B6D79 #561B79
square
#79271B #3E791B #1B6D79 #561B79
split-complementary
#79271B #1B7956 #1B3E79
monochromatic
#190806 #471710 #79271B #AB3726 #D34F3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79271B#FFFFFF#000000##FFFFFF
##79271B1.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)
#3E3819
Deuteranopia (green-blind)
#524A18
Tritanopia (blue-blind)
#861125
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #79271b;
/* rgb */ color: rgb(121, 39, 27);
/* oklch */ color: oklch(39.6% 0.117 31.1);
Tailwind
colors: {
  custom: {
    50: '#a66658',
    500: '#79271b',
    950: '#000000',
  },
}
SCSS
$custom: #79271b;
$custom-light: #a66658;
$custom-dark: #000000;
JSON
{
  "hex": "#79271b",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 7.66,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.11689,
    "h": 31.1
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#79271B
secondary
#43A0AD
accent
#D1E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #79271B

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

Preview Lab → · Contrast checker → · Palette generator →

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