#71271C#71271C

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

Color values

HEX#71271C
RGBrgb(113, 39, 28)
HSLhsl(8, 60%, 28%)
HSVhsv(8, 75%, 44%)
CMYKcmyk(0%, 65.5%, 75.2%, 55.7%)
CIE-LABlab(26.87, 32.01, 24.27)
CIE-LCHlch(26.87, 40.17, 37.18°)
OKLaboklab(38.17% 0.0919 0.0552)
OKLCHoklch(38.17% 0.107 31)
XYZxyz(7.7460, 5.0467, 1.6646)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71271C #1C6671
analogous
#711C3B #71271C #71521C
triadic
#71271C #1C7127 #271C71
tetradic
#71271C #3B711C #1C6671 #521C71
square
#71271C #3B711C #1C6671 #521C71
split-complementary
#71271C #1C7152 #1C3B71
monochromatic
#190806 #401610 #71271C #A23828 #CE4D39

Accessibility & contrast

On white

10.45
#71271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71271C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71271C#FFFFFF#000000##FFFFFF
##71271C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351A
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#7D1525
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #71271c;
/* rgb */ color: rgb(113, 39, 28);
/* oklch */ color: oklch(38.2% 0.107 31.0);
Tailwind
colors: {
  custom: {
    50: '#a06558',
    500: '#71271c',
    950: '#000000',
  },
}
SCSS
$custom: #71271c;
$custom-light: #a06558;
$custom-dark: #000000;
JSON
{
  "hex": "#71271c",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 7.765,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38175,
    "c": 0.10719,
    "h": 31
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#71271C
secondary
#4399A6
accent
#CFE344
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100603
muted
#7F7A78

Preview Lab

Preview with #71271C

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

Preview Lab → · Contrast checker → · Palette generator →

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