#8F2217#8F2217

#8F2217 is a dark, vivid red. Relative luminance 0.070; OKLCH L 43.0% C 0.146 H 29.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8F2217
RGBrgb(143, 34, 23)
HSLhsl(6, 72%, 33%)
HSVhsv(6, 84%, 56%)
CMYKcmyk(0%, 76.2%, 83.9%, 43.9%)
CIE-LABlab(31.91, 44.69, 34.29)
CIE-LCHlch(31.91, 56.33, 37.49°)
OKLaboklab(43.02% 0.1269 0.0731)
OKLCHoklch(43.02% 0.146 29.9)
XYZxyz(12.0558, 7.0475, 1.5360)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2217 #17848F
analogous
#8F1748 #8F2217 #8F5E17
triadic
#8F2217 #178F22 #22178F
tetradic
#8F2217 #488F17 #17848F #5E178F
square
#8F2217 #488F17 #17848F #5E178F
split-complementary
#8F2217 #178F5E #17488F
monochromatic
#260906 #5A150F #8F2217 #C42F1F #E04F40

Accessibility & contrast

On white

8.72
#8F2217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8F2217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2217
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2217#FFFFFF#000000##FFFFFF
##8F22171.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#5E5411
Tritanopia (blue-blind)
#9E0021
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f2217;
/* rgb */ color: rgb(143, 34, 23);
/* oklch */ color: oklch(43.0% 0.146 29.9);
Tailwind
colors: {
  custom: {
    50: '#b86655',
    500: '#8f2217',
    950: '#000000',
  },
}
SCSS
$custom: #8f2217;
$custom-light: #b86655;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2217",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 5.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.14647,
    "h": 29.9
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#8F2217
secondary
#41B5C1
accent
#DEEF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8F2217

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

Preview Lab → · Contrast checker → · Palette generator →

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