#8F2017#8F2017

#8F2017 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.8% C 0.148 H 29.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8F2017
RGBrgb(143, 32, 23)
HSLhsl(5, 72%, 33%)
HSVhsv(5, 84%, 56%)
CMYKcmyk(0%, 77.6%, 83.9%, 43.9%)
CIE-LABlab(31.66, 45.40, 34.05)
CIE-LCHlch(31.66, 56.74, 36.87°)
OKLaboklab(42.83% 0.1291 0.0726)
OKLCHoklch(42.83% 0.148 29.3)
XYZxyz(12.0003, 6.9364, 1.5174)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2017 #17868F
analogous
#8F174A #8F2017 #8F5C17
triadic
#8F2017 #178F20 #20178F
tetradic
#8F2017 #4A8F17 #17868F #5C178F
square
#8F2017 #4A8F17 #17868F #5C178F
split-complementary
#8F2017 #178F5C #174A8F
monochromatic
#260806 #5A140F #8F2017 #C42C1F #E04C40

Accessibility & contrast

On white

8.80
#8F2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8F2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2017
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2017#FFFFFF#000000##FFFFFF
##8F20171.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B15
Deuteranopia (green-blind)
#5E5311
Tritanopia (blue-blind)
#9E001F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f2017;
/* rgb */ color: rgb(143, 32, 23);
/* oklch */ color: oklch(42.8% 0.148 29.3);
Tailwind
colors: {
  custom: {
    50: '#b96555',
    500: '#8f2017',
    950: '#000000',
  },
}
SCSS
$custom: #8f2017;
$custom-light: #b96555;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2017",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 4.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.14812,
    "h": 29.3
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#8F2017
secondary
#41B7C1
accent
#E1EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F2017

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

Preview Lab → · Contrast checker → · Palette generator →

#8F2017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva