#9A271D#9A271D

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

Color values

HEX#9A271D
RGBrgb(154, 39, 29)
HSLhsl(5, 68%, 36%)
HSVhsv(5, 81%, 60%)
CMYKcmyk(0%, 74.7%, 81.2%, 39.6%)
CIE-LABlab(34.83, 46.70, 34.56)
CIE-LCHlch(34.83, 58.10, 36.51°)
OKLaboklab(45.61% 0.1332 0.0748)
OKLCHoklch(45.61% 0.153 29.3)
XYZxyz(14.2754, 8.4120, 2.0342)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A271D #1D909A
analogous
#9A1D51 #9A271D #9A651D
triadic
#9A271D #1D9A27 #271D9A
tetradic
#9A271D #519A1D #1D909A #651D9A
square
#9A271D #519A1D #1D909A #651D9A
split-complementary
#9A271D #1D9A65 #1D519A
monochromatic
#330D0A #661A13 #9A271D #CE3427 #DF5E53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A271D#FFFFFF#000000##FFFFFF
##9A271D1.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)
#4A421B
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#AA0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a271d;
/* rgb */ color: rgb(154, 39, 29);
/* oklch */ color: oklch(45.6% 0.153 29.3);
Tailwind
colors: {
  custom: {
    50: '#c06a5a',
    500: '#9a271d',
    950: '#000000',
  },
}
SCSS
$custom: #9a271d;
$custom-light: #c06a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a271d",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 4.8,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4561,
    "c": 0.15274,
    "h": 29.3
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#9A271D
secondary
#51B9C2
accent
#DDEB3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9A271D

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

Preview Lab → · Contrast checker → · Palette generator →

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