#8A2227#8A2227

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

Color values

HEX#8A2227
RGBrgb(138, 34, 39)
HSLhsl(357, 60%, 34%)
HSVhsv(357, 75%, 54%)
CMYKcmyk(0%, 75.4%, 71.7%, 45.9%)
CIE-LABlab(31.10, 43.70, 23.55)
CIE-LCHlch(31.10, 49.64, 28.32°)
OKLaboklab(42.3% 0.1279 0.0544)
OKLCHoklch(42.3% 0.139 23.1)
XYZxyz(11.4207, 6.6955, 2.6101)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2227 #228A85
analogous
#8A225B #8A2227 #8A5122
triadic
#8A2227 #278A22 #22278A
tetradic
#8A2227 #5B8A22 #228A85 #51228A
square
#8A2227 #5B8A22 #228A85 #51228A
split-complementary
#8A2227 #228A51 #225B8A
monochromatic
#280A0B #591619 #8A2227 #BB2E35 #D45258

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2227#FFFFFF#000000##FFFFFF
##8A22271.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)
#403B26
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2227;
/* rgb */ color: rgb(138, 34, 39);
/* oklch */ color: oklch(42.3% 0.139 23.1);
Tailwind
colors: {
  custom: {
    50: '#b36661',
    500: '#8a2227',
    950: '#000000',
  },
}
SCSS
$custom: #8a2227;
$custom-light: #b36661;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2227",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.115,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.13903,
    "h": 23.1
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#8A2227
secondary
#50B8B3
accent
#E4DC44
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2227

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

Preview Lab → · Contrast checker → · Palette generator →

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