#71271B#71271B

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

Color values

HEX#71271B
RGBrgb(113, 39, 27)
HSLhsl(8, 61%, 27%)
HSVhsv(8, 76%, 44%)
CMYKcmyk(0%, 65.5%, 76.1%, 55.7%)
CIE-LABlab(26.85, 31.95, 24.87)
CIE-LCHlch(26.85, 40.49, 37.90°)
OKLaboklab(38.16% 0.0915 0.0563)
OKLCHoklch(38.16% 0.107 31.6)
XYZxyz(7.7342, 5.0420, 1.6026)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71271B #1B6571
analogous
#711B3A #71271B #71521B
triadic
#71271B #1B7127 #271B71
tetradic
#71271B #3A711B #1B6571 #521B71
square
#71271B #3A711B #1B6571 #521B71
split-complementary
#71271B #1B7152 #1B3A71
monochromatic
#190906 #40160F #71271B #A23827 #CF4C37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71271B#FFFFFF#000000##FFFFFF
##71271B1.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)
#3B3519
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#7D1525
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #71271b;
/* rgb */ color: rgb(113, 39, 27);
/* oklch */ color: oklch(38.2% 0.107 31.6);
Tailwind
colors: {
  custom: {
    50: '#a06558',
    500: '#71271b',
    950: '#000000',
  },
}
SCSS
$custom: #71271b;
$custom-light: #a06558;
$custom-dark: #000000;
JSON
{
  "hex": "#71271b",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 8.372,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.10743,
    "h": 31.6
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#71271B
secondary
#4298A6
accent
#CEE543
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100603
muted
#7F7A78

Preview Lab

Preview with #71271B

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

Preview Lab → · Contrast checker → · Palette generator →

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