#8E2F28#8E2F28

#8E2F28 is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.5% C 0.130 H 27.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8E2F28
RGBrgb(142, 47, 40)
HSLhsl(4, 56%, 36%)
HSVhsv(4, 72%, 56%)
CMYKcmyk(0%, 66.9%, 71.8%, 44.3%)
CIE-LABlab(33.86, 39.76, 26.38)
CIE-LCHlch(33.86, 47.71, 33.56°)
OKLaboklab(44.5% 0.1152 0.0607)
OKLCHoklch(44.5% 0.13 27.8)
XYZxyz(12.5562, 7.9388, 2.8782)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F28 #28878E
analogous
#8E2854 #8E2F28 #8E6228
triadic
#8E2F28 #288E2F #2F288E
tetradic
#8E2F28 #548E28 #28878E #62288E
square
#8E2F28 #548E28 #28878E #62288E
split-complementary
#8E2F28 #288E62 #28548E
monochromatic
#2F0F0D #5E1F1B #8E2F28 #BE3F35 #D2665F

Accessibility & contrast

On white

8.12
#8E2F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E2F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F28
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F28#FFFFFF#000000##FFFFFF
##8E2F281.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494327
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#9C172E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2f28;
/* rgb */ color: rgb(142, 47, 40);
/* oklch */ color: oklch(44.5% 0.130 27.8);
Tailwind
colors: {
  custom: {
    50: '#b66d62',
    500: '#8e2f28',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f28;
$custom-light: #b66d62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f28",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 4.118,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.13018,
    "h": 27.8
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#8E2F28
secondary
#5BB1B7
accent
#D5DF48
background
#FCF6F5
surface
#F8ECEA
border
#D1C7C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8E2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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