#9B271E#9B271E

#9B271E is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.154 H 29.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9B271E
RGBrgb(155, 39, 30)
HSLhsl(4, 68%, 36%)
HSVhsv(4, 81%, 61%)
CMYKcmyk(0%, 74.8%, 80.6%, 39.2%)
CIE-LABlab(35.03, 47.06, 34.28)
CIE-LCHlch(35.03, 58.22, 36.07°)
OKLaboklab(45.8% 0.1344 0.0744)
OKLCHoklch(45.8% 0.154 29)
XYZxyz(14.4792, 8.5156, 2.1093)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B271E #1E929B
analogous
#9B1E54 #9B271E #9B661E
triadic
#9B271E #1E9B27 #271E9B
tetradic
#9B271E #549B1E #1E929B #661E9B
square
#9B271E #549B1E #1E929B #661E9B
split-complementary
#9B271E #1E9B66 #1E549B
monochromatic
#340D0A #681A14 #9B271E #CE3428 #DE5F55

Accessibility & contrast

On white

7.77
#9B271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9B271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B271E
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B271E#FFFFFF#000000##FFFFFF
##9B271E1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421C
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#AB0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b271e;
/* rgb */ color: rgb(155, 39, 30);
/* oklch */ color: oklch(45.8% 0.154 29.0);
Tailwind
colors: {
  custom: {
    50: '#c16a5b',
    500: '#9b271e',
    950: '#000000',
  },
}
SCSS
$custom: #9b271e;
$custom-light: #c16a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b271e",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.32,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45804,
    "c": 0.15362,
    "h": 29
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#9B271E
secondary
#53BAC2
accent
#DEEA3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9B271E

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

Preview Lab → · Contrast checker → · Palette generator →

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