#9F271E#9F271E

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

Color values

HEX#9F271E
RGBrgb(159, 39, 30)
HSLhsl(4, 68%, 37%)
HSVhsv(4, 81%, 62%)
CMYKcmyk(0%, 75.5%, 81.1%, 37.6%)
CIE-LABlab(35.83, 48.36, 35.33)
CIE-LCHlch(35.83, 59.90, 36.15°)
OKLaboklab(46.54% 0.138 0.0764)
OKLCHoklch(46.54% 0.158 29)
XYZxyz(15.2598, 8.9181, 2.1459)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F271E #1E969F
analogous
#9F1E56 #9F271E #9F681E
triadic
#9F271E #1E9F27 #271E9F
tetradic
#9F271E #569F1E #1E969F #681E9F
square
#9F271E #569F1E #1E969F #681E9F
split-complementary
#9F271E #1E9F68 #1E569F
monochromatic
#380E0B #6C1A14 #9F271E #D23428 #DF6158

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F271E#FFFFFF#000000##FFFFFF
##9F271E1.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)
#4C431C
Deuteranopia (green-blind)
#695E18
Tritanopia (blue-blind)
#B00026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f271e;
/* rgb */ color: rgb(159, 39, 30);
/* oklch */ color: oklch(46.5% 0.158 29.0);
Tailwind
colors: {
  custom: {
    50: '#c46b5b',
    500: '#9f271e',
    950: '#000000',
  },
}
SCSS
$custom: #9f271e;
$custom-light: #c46b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f271e",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 4.186,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46537,
    "c": 0.15774,
    "h": 29
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#9F271E
secondary
#56BCC3
accent
#DFEB3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F271E

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

Preview Lab → · Contrast checker → · Palette generator →

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