#8F402A#8F402A

#8F402A is a mid, moderate red. Relative luminance 0.097; OKLCH L 47.1% C 0.113 H 36.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8F402A
RGBrgb(143, 64, 42)
HSLhsl(13, 55%, 36%)
HSVhsv(13, 71%, 56%)
CMYKcmyk(0%, 55.2%, 70.6%, 43.9%)
CIE-LABlab(37.25, 31.85, 29.19)
CIE-LCHlch(37.25, 43.21, 42.51°)
OKLaboklab(47.11% 0.0909 0.0671)
OKLCHoklch(47.11% 0.113 36.5)
XYZxyz(13.5803, 9.6753, 3.3424)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F402A #2A798F
analogous
#8F2A47 #8F402A #8F732A
triadic
#8F402A #2A8F40 #402A8F
tetradic
#8F402A #478F2A #2A798F #732A8F
square
#8F402A #478F2A #2A798F #732A8F
split-complementary
#8F402A #2A8F73 #2A478F
monochromatic
#30160E #602B1C #8F402A #BE5538 #D17A62

Accessibility & contrast

On white

7.16
#8F402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F402A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F402A#FFFFFF#000000##FFFFFF
##8F402A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#685E28
Tritanopia (blue-blind)
#9D303B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f402a;
/* rgb */ color: rgb(143, 64, 42);
/* oklch */ color: oklch(47.1% 0.113 36.5);
Tailwind
colors: {
  custom: {
    50: '#b67764',
    500: '#8f402a',
    950: '#000000',
  },
}
SCSS
$custom: #8f402a;
$custom-light: #b67764;
$custom-dark: #000000;
JSON
{
  "hex": "#8f402a",
  "rgb": {
    "r": 143,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 13.069,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47111,
    "c": 0.11296,
    "h": 36.5
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#8F402A
secondary
#5EA4B7
accent
#BEDE4A
background
#FBF7F6
surface
#F7EDEB
border
#D0C8C6
text
#120905
muted
#817B7A

Preview Lab

Preview with #8F402A

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

Preview Lab → · Contrast checker → · Palette generator →

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