#9A271C#9A271C

#9A271C is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.6% C 0.153 H 29.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9A271C
RGBrgb(154, 39, 28)
HSLhsl(5, 69%, 36%)
HSVhsv(5, 82%, 60%)
CMYKcmyk(0%, 74.7%, 81.8%, 39.6%)
CIE-LABlab(34.82, 46.67, 35.11)
CIE-LCHlch(34.82, 58.40, 36.96°)
OKLaboklab(45.6% 0.1329 0.0757)
OKLCHoklch(45.6% 0.153 29.7)
XYZxyz(14.2632, 8.4071, 1.9701)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A271C #1C8F9A
analogous
#9A1C50 #9A271C #9A661C
triadic
#9A271C #1C9A27 #271C9A
tetradic
#9A271C #509A1C #1C8F9A #661C9A
square
#9A271C #509A1C #1C8F9A #661C9A
split-complementary
#9A271C #1C9A66 #1C509A
monochromatic
#320D09 #661A13 #9A271C #CE3425 #DF5D51

Accessibility & contrast

On white

7.83
#9A271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9A271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A271C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A271C#FFFFFF#000000##FFFFFF
##9A271C1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4219
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#AA0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a271c;
/* rgb */ color: rgb(154, 39, 28);
/* oklch */ color: oklch(45.6% 0.153 29.7);
Tailwind
colors: {
  custom: {
    50: '#c06a59',
    500: '#9a271c',
    950: '#000000',
  },
}
SCSS
$custom: #9a271c;
$custom-light: #c06a59;
$custom-dark: #000000;
JSON
{
  "hex": "#9a271c",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.238,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.15289,
    "h": 29.7
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#9A271C
secondary
#50B8C2
accent
#DDEC3C
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9A271C

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

Preview Lab → · Contrast checker → · Palette generator →

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