#8A2127#8A2127

#8A2127 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.140 H 22.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8A2127
RGBrgb(138, 33, 39)
HSLhsl(357, 61%, 34%)
HSVhsv(357, 76%, 54%)
CMYKcmyk(0%, 76.1%, 71.7%, 45.9%)
CIE-LABlab(30.97, 44.07, 23.39)
CIE-LCHlch(30.97, 49.89, 27.96°)
OKLaboklab(42.2% 0.1291 0.0541)
OKLCHoklch(42.2% 0.14 22.7)
XYZxyz(11.3926, 6.6392, 2.6007)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2127 #218A84
analogous
#8A215B #8A2127 #8A4F21
triadic
#8A2127 #278A21 #21278A
tetradic
#8A2127 #5B8A21 #218A84 #4F218A
square
#8A2127 #5B8A21 #218A84 #4F218A
split-complementary
#8A2127 #218A4F #215B8A
monochromatic
#27090B #591519 #8A2127 #BB2D35 #D55058

Accessibility & contrast

On white

9.02
#8A2127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A2127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2127
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2127#FFFFFF#000000##FFFFFF
##8A21271.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2127;
/* rgb */ color: rgb(138, 33, 39);
/* oklch */ color: oklch(42.2% 0.140 22.7);
Tailwind
colors: {
  custom: {
    50: '#b36561',
    500: '#8a2127',
    950: '#000000',
  },
}
SCSS
$custom: #8a2127;
$custom-light: #b36561;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2127",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 356.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.13997,
    "h": 22.7
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#8A2127
secondary
#4EB9B2
accent
#E5DB43
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2127

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

Preview Lab → · Contrast checker → · Palette generator →

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