#8F402D#8F402D

#8F402D is a mid, moderate red. Relative luminance 0.097; OKLCH L 47.2% C 0.112 H 34.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8F402D
RGBrgb(143, 64, 45)
HSLhsl(12, 52%, 37%)
HSVhsv(12, 69%, 56%)
CMYKcmyk(0%, 55.2%, 68.5%, 43.9%)
CIE-LABlab(37.29, 32.03, 27.48)
CIE-LCHlch(37.29, 42.21, 40.63°)
OKLaboklab(47.16% 0.092 0.0639)
OKLCHoklch(47.16% 0.112 34.8)
XYZxyz(13.6360, 9.6976, 3.6359)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F402D #2D7C8F
analogous
#8F2D4B #8F402D #8F712D
triadic
#8F402D #2D8F40 #402D8F
tetradic
#8F402D #4B8F2D #2D7C8F #712D8F
square
#8F402D #4B8F2D #2D7C8F #712D8F
split-complementary
#8F402D #2D8F71 #2D4B8F
monochromatic
#321610 #602B1E #8F402D #BE553C #CF7B67

Accessibility & contrast

On white

7.14
#8F402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8F402D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F402D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F402D#FFFFFF#000000##FFFFFF
##8F402D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#685E2B
Tritanopia (blue-blind)
#9D303C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f402d;
/* rgb */ color: rgb(143, 64, 45);
/* oklch */ color: oklch(47.2% 0.112 34.8);
Tailwind
colors: {
  custom: {
    50: '#b57766',
    500: '#8f402d',
    950: '#000000',
  },
}
SCSS
$custom: #8f402d;
$custom-light: #b57766;
$custom-dark: #000000;
JSON
{
  "hex": "#8f402d",
  "rgb": {
    "r": 143,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 11.633,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47155,
    "c": 0.112,
    "h": 34.8
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#8F402D
secondary
#62A6B6
accent
#C0DC4C
background
#FBF7F6
surface
#F7EDEB
border
#D0C8C6
text
#120906
muted
#817B7A

Preview Lab

Preview with #8F402D

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

Preview Lab → · Contrast checker → · Palette generator →

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