#71271E#71271E

#71271E is a dark, moderate red. Relative luminance 0.051; OKLCH L 38.2% C 0.107 H 29.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#71271E
RGBrgb(113, 39, 30)
HSLhsl(7, 58%, 28%)
HSVhsv(7, 73%, 44%)
CMYKcmyk(0%, 65.5%, 73.5%, 55.7%)
CIE-LABlab(26.90, 32.11, 23.06)
CIE-LCHlch(26.90, 39.53, 35.68°)
OKLaboklab(38.21% 0.0927 0.053)
OKLCHoklch(38.21% 0.107 29.7)
XYZxyz(7.7707, 5.0566, 1.7949)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71271E #1E6871
analogous
#711E3E #71271E #71501E
triadic
#71271E #1E7127 #271E71
tetradic
#71271E #3E711E #1E6871 #501E71
square
#71271E #3E711E #1E6871 #501E71
split-complementary
#71271E #1E7150 #1E3E71
monochromatic
#180806 #411611 #71271E #A1382B #CC4D3E

Accessibility & contrast

On white

10.44
#71271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#71271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71271E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71271E#FFFFFF#000000##FFFFFF
##71271E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351D
Deuteranopia (green-blind)
#4D461C
Tritanopia (blue-blind)
#7D1625
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71271e;
/* rgb */ color: rgb(113, 39, 30);
/* oklch */ color: oklch(38.2% 0.107 29.7);
Tailwind
colors: {
  custom: {
    50: '#a0655a',
    500: '#71271e',
    950: '#000000',
  },
}
SCSS
$custom: #71271e;
$custom-light: #a0655a;
$custom-dark: #000000;
JSON
{
  "hex": "#71271e",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 6.506,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38205,
    "c": 0.10673,
    "h": 29.7
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#71271E
secondary
#469BA5
accent
#D0E147
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100603
muted
#7F7A78

Preview Lab

Preview with #71271E

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

Preview Lab → · Contrast checker → · Palette generator →

#71271E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva