#8F1723#8F1723

#8F1723 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.154 H 22.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8F1723
RGBrgb(143, 23, 35)
HSLhsl(354, 72%, 33%)
HSVhsv(354, 84%, 56%)
CMYKcmyk(0%, 83.9%, 75.5%, 43.9%)
CIE-LABlab(30.82, 48.59, 26.00)
CIE-LCHlch(30.82, 55.11, 28.15°)
OKLaboklab(42.25% 0.1419 0.0587)
OKLCHoklch(42.25% 0.154 22.5)
XYZxyz(11.9389, 6.5757, 2.2304)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1723 #178F83
analogous
#8F175F #8F1723 #8F4717
triadic
#8F1723 #238F17 #17238F
tetradic
#8F1723 #5F8F17 #178F83 #47178F
square
#8F1723 #5F8F17 #178F83 #47178F
split-complementary
#8F1723 #178F47 #175F8F
monochromatic
#260609 #5A0F16 #8F1723 #C41F30 #E04050

Accessibility & contrast

On white

9.07
#8F1723 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8F1723 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1723
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1723#FFFFFF#000000##FFFFFF
##8F17231.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3822
Deuteranopia (green-blind)
#5B521F
Tritanopia (blue-blind)
#9E001D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1723;
/* rgb */ color: rgb(143, 23, 35);
/* oklch */ color: oklch(42.3% 0.154 22.5);
Tailwind
colors: {
  custom: {
    50: '#b8625e',
    500: '#8f1723',
    950: '#000000',
  },
}
SCSS
$custom: #8f1723;
$custom-light: #b8625e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1723",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 35
  },
  "hsl": {
    "h": 354,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42253,
    "c": 0.15356,
    "h": 22.5
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#8F1723
secondary
#41C1B4
accent
#EFDD39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8F1723

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

Preview Lab → · Contrast checker → · Palette generator →

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