#9F271A#9F271A

#9F271A is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.5% C 0.158 H 30.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9F271A
RGBrgb(159, 39, 26)
HSLhsl(6, 72%, 36%)
HSVhsv(6, 84%, 62%)
CMYKcmyk(0%, 75.5%, 83.6%, 37.6%)
CIE-LABlab(35.79, 48.24, 37.47)
CIE-LCHlch(35.79, 61.08, 37.84°)
OKLaboklab(46.5% 0.1368 0.0796)
OKLCHoklch(46.5% 0.158 30.2)
XYZxyz(15.2119, 8.8990, 1.8938)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F271A #1A929F
analogous
#9F1A50 #9F271A #9F6A1A
triadic
#9F271A #1A9F27 #271A9F
tetradic
#9F271A #509F1A #1A929F #6A1A9F
square
#9F271A #509F1A #1A929F #6A1A9F
split-complementary
#9F271A #1A9F6A #1A509F
monochromatic
#360D09 #6A1A11 #9F271A #D43423 #E35F51

Accessibility & contrast

On white

7.56
#9F271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F271A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F271A#FFFFFF#000000##FFFFFF
##9F271A1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4317
Deuteranopia (green-blind)
#695E14
Tritanopia (blue-blind)
#B00025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f271a;
/* rgb */ color: rgb(159, 39, 26);
/* oklch */ color: oklch(46.5% 0.158 30.2);
Tailwind
colors: {
  custom: {
    50: '#c46b58',
    500: '#9f271a',
    950: '#000000',
  },
}
SCSS
$custom: #9f271a;
$custom-light: #c46b58;
$custom-dark: #000000;
JSON
{
  "hex": "#9f271a",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 5.865,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.15832,
    "h": 30.2
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#9F271A
secondary
#50BAC5
accent
#DDEF39
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F271A

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

Preview Lab → · Contrast checker → · Palette generator →

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