#9D271E#9D271E

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

Color values

HEX#9D271E
RGBrgb(157, 39, 30)
HSLhsl(4, 68%, 37%)
HSVhsv(4, 81%, 62%)
CMYKcmyk(0%, 75.2%, 80.9%, 38.4%)
CIE-LABlab(35.43, 47.71, 34.80)
CIE-LCHlch(35.43, 59.06, 36.11°)
OKLaboklab(46.17% 0.1362 0.0754)
OKLCHoklch(46.17% 0.156 29)
XYZxyz(14.8663, 8.7152, 2.1275)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D271E #1E949D
analogous
#9D1E55 #9D271E #9D671E
triadic
#9D271E #1E9D27 #271E9D
tetradic
#9D271E #559D1E #1E949D #671E9D
square
#9D271E #559D1E #1E949D #671E9D
split-complementary
#9D271E #1E9D67 #1E559D
monochromatic
#360D0A #6A1A14 #9D271E #D03428 #DF6057

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D271E#FFFFFF#000000##FFFFFF
##9D271E1.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)
#4B431C
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#AD0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d271e;
/* rgb */ color: rgb(157, 39, 30);
/* oklch */ color: oklch(46.2% 0.156 29.0);
Tailwind
colors: {
  custom: {
    50: '#c36b5b',
    500: '#9d271e',
    950: '#000000',
  },
}
SCSS
$custom: #9d271e;
$custom-light: #c36b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d271e",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.252,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.15569,
    "h": 29
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#9D271E
secondary
#54BBC2
accent
#DEEB3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D271E

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

Preview Lab → · Contrast checker → · Palette generator →

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