#9F271C#9F271C

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

Color values

HEX#9F271C
RGBrgb(159, 39, 28)
HSLhsl(5, 70%, 37%)
HSVhsv(5, 82%, 62%)
CMYKcmyk(0%, 75.5%, 82.4%, 37.6%)
CIE-LABlab(35.81, 48.30, 36.41)
CIE-LCHlch(35.81, 60.49, 37.01°)
OKLaboklab(46.52% 0.1374 0.078)
OKLCHoklch(46.52% 0.158 29.6)
XYZxyz(15.2350, 8.9082, 2.0157)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F271C #1C949F
analogous
#9F1C53 #9F271C #9F691C
triadic
#9F271C #1C9F27 #271C9F
tetradic
#9F271C #539F1C #1C949F #691C9F
square
#9F271C #539F1C #1C949F #691C9F
split-complementary
#9F271C #1C9F69 #1C539F
monochromatic
#370D0A #6B1A13 #9F271C #D33425 #E16054

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F271C#FFFFFF#000000##FFFFFF
##9F271C1.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)
#4C4319
Deuteranopia (green-blind)
#695E16
Tritanopia (blue-blind)
#B00026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f271c;
/* rgb */ color: rgb(159, 39, 28);
/* oklch */ color: oklch(46.5% 0.158 29.6);
Tailwind
colors: {
  custom: {
    50: '#c46b5a',
    500: '#9f271c',
    950: '#000000',
  },
}
SCSS
$custom: #9f271c;
$custom-light: #c46b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f271c",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.038,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46517,
    "c": 0.15802,
    "h": 29.6
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#9F271C
secondary
#53BBC4
accent
#DEED3B
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F271C

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

Preview Lab → · Contrast checker → · Palette generator →

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