#9F271D#9F271D

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

Color values

HEX#9F271D
RGBrgb(159, 39, 29)
HSLhsl(5, 69%, 37%)
HSVhsv(5, 82%, 62%)
CMYKcmyk(0%, 75.5%, 81.8%, 37.6%)
CIE-LABlab(35.82, 48.33, 35.88)
CIE-LCHlch(35.82, 60.19, 36.59°)
OKLaboklab(46.53% 0.1377 0.0772)
OKLCHoklch(46.53% 0.158 29.3)
XYZxyz(15.2472, 8.9131, 2.0797)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F271D #1D959F
analogous
#9F1D54 #9F271D #9F681D
triadic
#9F271D #1D9F27 #271D9F
tetradic
#9F271D #549F1D #1D959F #681D9F
square
#9F271D #549F1D #1D959F #681D9F
split-complementary
#9F271D #1D9F68 #1D549F
monochromatic
#370E0A #6B1A14 #9F271D #D33426 #E06156

Accessibility & contrast

On white

7.55
#9F271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F271D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F271D#FFFFFF#000000##FFFFFF
##9F271D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C431A
Deuteranopia (green-blind)
#695E17
Tritanopia (blue-blind)
#B00026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f271d;
/* rgb */ color: rgb(159, 39, 29);
/* oklch */ color: oklch(46.5% 0.158 29.3);
Tailwind
colors: {
  custom: {
    50: '#c46b5a',
    500: '#9f271d',
    950: '#000000',
  },
}
SCSS
$custom: #9f271d;
$custom-light: #c46b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f271d",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 4.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46527,
    "c": 0.15788,
    "h": 29.3
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#9F271D
secondary
#54BBC4
accent
#DEEC3C
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F271D

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

Preview Lab → · Contrast checker → · Palette generator →

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