#8A242F#8A242F

#8A242F is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.6% C 0.136 H 19.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8A242F
RGBrgb(138, 36, 47)
HSLhsl(354, 59%, 34%)
HSVhsv(354, 74%, 54%)
CMYKcmyk(0%, 73.9%, 65.9%, 45.9%)
CIE-LABlab(31.51, 43.40, 18.92)
CIE-LCHlch(31.51, 47.35, 23.56°)
OKLaboklab(42.65% 0.1288 0.0452)
OKLCHoklch(42.65% 0.136 19.4)
XYZxyz(11.6264, 6.8720, 3.4030)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A242F #248A7F
analogous
#8A2462 #8A242F #8A4C24
triadic
#8A242F #2F8A24 #242F8A
tetradic
#8A242F #628A24 #248A7F #4C248A
square
#8A242F #628A24 #248A7F #4C248A
split-complementary
#8A242F #248A4C #24628A
monochromatic
#290B0E #59171E #8A242F #BB3140 #D35663

Accessibility & contrast

On white

8.85
#8A242F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A242F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A242F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A242F#FFFFFF#000000##FFFFFF
##8A242F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2F
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#980229
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a242f;
/* rgb */ color: rgb(138, 36, 47);
/* oklch */ color: oklch(42.6% 0.136 19.4);
Tailwind
colors: {
  custom: {
    50: '#b36767',
    500: '#8a242f',
    950: '#000000',
  },
}
SCSS
$custom: #8a242f;
$custom-light: #b36767;
$custom-dark: #000000;
JSON
{
  "hex": "#8a242f",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 47
  },
  "hsl": {
    "h": 353.529,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42647,
    "c": 0.13648,
    "h": 19.4
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#8A242F
secondary
#53B7AC
accent
#E2D146
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A242F

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

Preview Lab → · Contrast checker → · Palette generator →

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