#71271D#71271D

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

Color values

HEX#71271D
RGBrgb(113, 39, 29)
HSLhsl(7, 59%, 28%)
HSVhsv(7, 74%, 44%)
CMYKcmyk(0%, 65.5%, 74.3%, 55.7%)
CIE-LABlab(26.88, 32.06, 23.67)
CIE-LCHlch(26.88, 39.85, 36.43°)
OKLaboklab(38.19% 0.0923 0.0541)
OKLCHoklch(38.19% 0.107 30.4)
XYZxyz(7.7581, 5.0515, 1.7287)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71271D #1D6771
analogous
#711D3D #71271D #71511D
triadic
#71271D #1D7127 #271D71
tetradic
#71271D #3D711D #1D6771 #511D71
square
#71271D #3D711D #1D6771 #511D71
split-complementary
#71271D #1D7151 #1D3D71
monochromatic
#180806 #401611 #71271D #A23829 #CD4D3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71271D#FFFFFF#000000##FFFFFF
##71271D1.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)
#3B351C
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#7D1525
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71271d;
/* rgb */ color: rgb(113, 39, 29);
/* oklch */ color: oklch(38.2% 0.107 30.4);
Tailwind
colors: {
  custom: {
    50: '#a06559',
    500: '#71271d',
    950: '#000000',
  },
}
SCSS
$custom: #71271d;
$custom-light: #a06559;
$custom-dark: #000000;
JSON
{
  "hex": "#71271d",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 7.143,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3819,
    "c": 0.10696,
    "h": 30.4
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#71271D
secondary
#449AA5
accent
#D0E245
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100603
muted
#7F7A78

Preview Lab

Preview with #71271D

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

Preview Lab → · Contrast checker → · Palette generator →

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