#9D271D#9D271D

#9D271D is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.156 H 29.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9D271D
RGBrgb(157, 39, 29)
HSLhsl(5, 69%, 36%)
HSVhsv(5, 82%, 62%)
CMYKcmyk(0%, 75.2%, 81.5%, 38.4%)
CIE-LABlab(35.42, 47.68, 35.35)
CIE-LCHlch(35.42, 59.36, 36.55°)
OKLaboklab(46.16% 0.1359 0.0763)
OKLCHoklch(46.16% 0.156 29.3)
XYZxyz(14.8537, 8.7102, 2.0613)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D271D #1D939D
analogous
#9D1D53 #9D271D #9D671D
triadic
#9D271D #1D9D27 #271D9D
tetradic
#9D271D #539D1D #1D939D #671D9D
square
#9D271D #539D1D #1D939D #671D9D
split-complementary
#9D271D #1D9D67 #1D539D
monochromatic
#360D0A #691A13 #9D271D #D13427 #E06055

Accessibility & contrast

On white

7.66
#9D271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9D271D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D271D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D271D#FFFFFF#000000##FFFFFF
##9D271D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#685D17
Tritanopia (blue-blind)
#AD0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d271d;
/* rgb */ color: rgb(157, 39, 29);
/* oklch */ color: oklch(46.2% 0.156 29.3);
Tailwind
colors: {
  custom: {
    50: '#c36b5a',
    500: '#9d271d',
    950: '#000000',
  },
}
SCSS
$custom: #9d271d;
$custom-light: #c36b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d271d",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 4.688,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4616,
    "c": 0.15583,
    "h": 29.3
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#9D271D
secondary
#53BAC3
accent
#DEEC3C
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D271D

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

Preview Lab → · Contrast checker → · Palette generator →

#9D271D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva