#71271A#71271A

#71271A is a dark, moderate red. Relative luminance 0.050; OKLCH L 38.1% C 0.108 H 32.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#71271A
RGBrgb(113, 39, 26)
HSLhsl(9, 63%, 27%)
HSVhsv(9, 77%, 44%)
CMYKcmyk(0%, 65.5%, 77%, 55.7%)
CIE-LABlab(26.84, 31.90, 25.47)
CIE-LCHlch(26.84, 40.82, 38.60°)
OKLaboklab(38.15% 0.0911 0.0573)
OKLCHoklch(38.15% 0.108 32.2)
XYZxyz(7.7228, 5.0374, 1.5427)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71271A #1A6471
analogous
#711A38 #71271A #71531A
triadic
#71271A #1A7127 #271A71
tetradic
#71271A #38711A #1A6471 #531A71
square
#71271A #38711A #1A6471 #531A71
split-complementary
#71271A #1A7153 #1A3871
monochromatic
#190906 #3F160F #71271A #A33825 #D04C35

Accessibility & contrast

On white

10.46
#71271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71271A
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71271A#FFFFFF#000000##FFFFFF
##71271A1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3518
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#7D1524
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #71271a;
/* rgb */ color: rgb(113, 39, 26);
/* oklch */ color: oklch(38.1% 0.108 32.2);
Tailwind
colors: {
  custom: {
    50: '#a06557',
    500: '#71271a',
    950: '#000000',
  },
}
SCSS
$custom: #71271a;
$custom-light: #a06557;
$custom-dark: #000000;
JSON
{
  "hex": "#71271a",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 8.966,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.10766,
    "h": 32.2
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#71271A
secondary
#4197A6
accent
#CDE642
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100603
muted
#7F7A78

Preview Lab

Preview with #71271A

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

Preview Lab → · Contrast checker → · Palette generator →

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