#8D2227#8D2227

#8D2227 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.142 H 23.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8D2227
RGBrgb(141, 34, 39)
HSLhsl(357, 61%, 34%)
HSVhsv(357, 76%, 55%)
CMYKcmyk(0%, 75.9%, 72.3%, 44.7%)
CIE-LABlab(31.70, 44.68, 24.41)
CIE-LCHlch(31.70, 50.91, 28.65°)
OKLaboklab(42.85% 0.1306 0.0562)
OKLCHoklch(42.85% 0.142 23.3)
XYZxyz(11.9241, 6.9551, 2.6337)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2227 #228D88
analogous
#8D225D #8D2227 #8D5322
triadic
#8D2227 #278D22 #22278D
tetradic
#8D2227 #5D8D22 #228D88 #53228D
square
#8D2227 #5D8D22 #228D88 #53228D
split-complementary
#8D2227 #228D53 #225D8D
monochromatic
#2A0A0C #5C1619 #8D2227 #BE2E35 #D6545A

Accessibility & contrast

On white

8.78
#8D2227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8D2227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2227
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2227#FFFFFF#000000##FFFFFF
##8D22271.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C26
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#9B0025
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d2227;
/* rgb */ color: rgb(141, 34, 39);
/* oklch */ color: oklch(42.9% 0.142 23.3);
Tailwind
colors: {
  custom: {
    50: '#b66661',
    500: '#8d2227',
    950: '#000000',
  },
}
SCSS
$custom: #8d2227;
$custom-light: #b66661;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2227",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.196,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.14221,
    "h": 23.3
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#8D2227
secondary
#51B9B5
accent
#E4DD44
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8D2227

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

Preview Lab → · Contrast checker → · Palette generator →

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