#8A212F#8A212F

#8A212F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.139 H 18.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8A212F
RGBrgb(138, 33, 47)
HSLhsl(352, 61%, 34%)
HSVhsv(352, 76%, 54%)
CMYKcmyk(0%, 76.1%, 65.9%, 45.9%)
CIE-LABlab(31.11, 44.53, 18.40)
CIE-LCHlch(31.11, 48.18, 22.46°)
OKLaboklab(42.35% 0.1324 0.0441)
OKLCHoklch(42.35% 0.139 18.4)
XYZxyz(11.5394, 6.6979, 3.3740)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A212F #218A7C
analogous
#8A2163 #8A212F #8A4721
triadic
#8A212F #2F8A21 #212F8A
tetradic
#8A212F #638A21 #218A7C #47218A
square
#8A212F #638A21 #218A7C #47218A
split-complementary
#8A212F #218A47 #21638A
monochromatic
#27090D #59151E #8A212F #BB2D40 #D55062

Accessibility & contrast

On white

8.98
#8A212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A212F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A212F#FFFFFF#000000##FFFFFF
##8A212F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2F
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a212f;
/* rgb */ color: rgb(138, 33, 47);
/* oklch */ color: oklch(42.3% 0.139 18.4);
Tailwind
colors: {
  custom: {
    50: '#b36567',
    500: '#8a212f',
    950: '#000000',
  },
}
SCSS
$custom: #8a212f;
$custom-light: #b36567;
$custom-dark: #000000;
JSON
{
  "hex": "#8a212f",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 352,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.13949,
    "h": 18.4
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#8A212F
secondary
#4EB9AA
accent
#E5CF43
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A212F

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

Preview Lab → · Contrast checker → · Palette generator →

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