#9A271E#9A271E

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

Color values

HEX#9A271E
RGBrgb(154, 39, 30)
HSLhsl(4, 67%, 36%)
HSVhsv(4, 81%, 60%)
CMYKcmyk(0%, 74.7%, 80.5%, 39.6%)
CIE-LABlab(34.84, 46.73, 34.01)
CIE-LCHlch(34.84, 57.80, 36.05°)
OKLaboklab(45.62% 0.1335 0.0739)
OKLCHoklch(45.62% 0.153 29)
XYZxyz(14.2880, 8.4170, 2.1004)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A271E #1E919A
analogous
#9A1E53 #9A271E #9A651E
triadic
#9A271E #1E9A27 #271E9A
tetradic
#9A271E #539A1E #1E919A #651E9A
square
#9A271E #539A1E #1E919A #651E9A
split-complementary
#9A271E #1E9A65 #1E539A
monochromatic
#340D0A #671A14 #9A271E #CD3428 #DE5F55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A271E#FFFFFF#000000##FFFFFF
##9A271E1.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)
#4A421C
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#AA0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a271e;
/* rgb */ color: rgb(154, 39, 30);
/* oklch */ color: oklch(45.6% 0.153 29.0);
Tailwind
colors: {
  custom: {
    50: '#c06a5b',
    500: '#9a271e',
    950: '#000000',
  },
}
SCSS
$custom: #9a271e;
$custom-light: #c06a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a271e",
  "rgb": {
    "r": 154,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.355,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.15259,
    "h": 29
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#9A271E
secondary
#53B9C1
accent
#DEEA3E
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #9A271E

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

Preview Lab → · Contrast checker → · Palette generator →

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