#8A2229#8A2229

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

Color values

HEX#8A2229
RGBrgb(138, 34, 41)
HSLhsl(356, 60%, 34%)
HSVhsv(356, 75%, 54%)
CMYKcmyk(0%, 75.4%, 70.3%, 45.9%)
CIE-LABlab(31.14, 43.81, 22.31)
CIE-LCHlch(31.14, 49.16, 26.99°)
OKLaboklab(42.33% 0.1287 0.052)
OKLCHoklch(42.33% 0.139 22)
XYZxyz(11.4548, 6.7091, 2.7892)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2229 #228A83
analogous
#8A225D #8A2229 #8A4F22
triadic
#8A2229 #298A22 #22298A
tetradic
#8A2229 #5D8A22 #228A83 #4F228A
square
#8A2229 #5D8A22 #228A83 #4F228A
split-complementary
#8A2229 #228A4F #225D8A
monochromatic
#280A0C #59161A #8A2229 #BB2E38 #D4525B

Accessibility & contrast

On white

8.97
#8A2229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2229
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2229#FFFFFF#000000##FFFFFF
##8A22291.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B28
Deuteranopia (green-blind)
#5A5126
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2229;
/* rgb */ color: rgb(138, 34, 41);
/* oklch */ color: oklch(42.3% 0.139 22.0);
Tailwind
colors: {
  custom: {
    50: '#b36662',
    500: '#8a2229',
    950: '#000000',
  },
}
SCSS
$custom: #8a2229;
$custom-light: #b36662;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2229",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 355.962,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.13885,
    "h": 22
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#8A2229
secondary
#50B8B1
accent
#E4D944
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2229

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

Preview Lab → · Contrast checker → · Palette generator →

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