#71271F#71271F

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

Color values

HEX#71271F
RGBrgb(113, 39, 31)
HSLhsl(6, 57%, 28%)
HSVhsv(6, 73%, 44%)
CMYKcmyk(0%, 65.5%, 72.6%, 55.7%)
CIE-LABlab(26.91, 32.17, 22.44)
CIE-LCHlch(26.91, 39.23, 34.90°)
OKLaboklab(38.22% 0.0931 0.0518)
OKLCHoklch(38.22% 0.107 29.1)
XYZxyz(7.7837, 5.0618, 1.8632)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71271F #1F6971
analogous
#711F40 #71271F #71501F
triadic
#71271F #1F7127 #271F71
tetradic
#71271F #40711F #1F6971 #501F71
square
#71271F #40711F #1F6971 #501F71
split-complementary
#71271F #1F7150 #1F4071
monochromatic
#180807 #411612 #71271F #A1382C #CB4D40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71271F#FFFFFF#000000##FFFFFF
##71271F1.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)
#3B351E
Deuteranopia (green-blind)
#4D461D
Tritanopia (blue-blind)
#7D1626
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71271f;
/* rgb */ color: rgb(113, 39, 31);
/* oklch */ color: oklch(38.2% 0.107 29.1);
Tailwind
colors: {
  custom: {
    50: '#a0655b',
    500: '#71271f',
    950: '#000000',
  },
}
SCSS
$custom: #71271f;
$custom-light: #a0655b;
$custom-dark: #000000;
JSON
{
  "hex": "#71271f",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 5.854,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.10651,
    "h": 29.1
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#71271F
secondary
#479CA5
accent
#D1E048
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #71271F

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

Preview Lab → · Contrast checker → · Palette generator →

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