#9C271E#9C271E

#9C271E is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.155 H 29.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9C271E
RGBrgb(156, 39, 30)
HSLhsl(4, 68%, 36%)
HSVhsv(4, 81%, 61%)
CMYKcmyk(0%, 75%, 80.8%, 38.8%)
CIE-LABlab(35.23, 47.39, 34.54)
CIE-LCHlch(35.23, 58.64, 36.09°)
OKLaboklab(45.99% 0.1353 0.0749)
OKLCHoklch(45.99% 0.155 29)
XYZxyz(14.6719, 8.6150, 2.1184)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C271E #1E939C
analogous
#9C1E54 #9C271E #9C661E
triadic
#9C271E #1E9C27 #271E9C
tetradic
#9C271E #549C1E #1E939C #661E9C
square
#9C271E #549C1E #1E939C #661E9C
split-complementary
#9C271E #1E9C66 #1E549C
monochromatic
#350D0A #691A14 #9C271E #CF3428 #DE6056

Accessibility & contrast

On white

7.71
#9C271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9C271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C271E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C271E#FFFFFF#000000##FFFFFF
##9C271E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A431C
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#AC0026
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c271e;
/* rgb */ color: rgb(156, 39, 30);
/* oklch */ color: oklch(46.0% 0.155 29.0);
Tailwind
colors: {
  custom: {
    50: '#c26a5b',
    500: '#9c271e',
    950: '#000000',
  },
}
SCSS
$custom: #9c271e;
$custom-light: #c26a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c271e",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.286,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45987,
    "c": 0.15465,
    "h": 29
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C271E

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

Preview Lab → · Contrast checker → · Palette generator →

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