#8A2128#8A2128

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

Color values

HEX#8A2128
RGBrgb(138, 33, 40)
HSLhsl(356, 61%, 34%)
HSVhsv(356, 76%, 54%)
CMYKcmyk(0%, 76.1%, 71%, 45.9%)
CIE-LABlab(30.99, 44.12, 22.77)
CIE-LCHlch(30.99, 49.65, 27.30°)
OKLaboklab(42.22% 0.1295 0.0529)
OKLCHoklch(42.22% 0.14 22.2)
XYZxyz(11.4094, 6.6459, 2.6891)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2128 #218A83
analogous
#8A215C #8A2128 #8A4E21
triadic
#8A2128 #288A21 #21288A
tetradic
#8A2128 #5C8A21 #218A83 #4E218A
square
#8A2128 #5C8A21 #218A83 #4E218A
split-complementary
#8A2128 #218A4E #215C8A
monochromatic
#27090B #59151A #8A2128 #BB2D36 #D55059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2128#FFFFFF#000000##FFFFFF
##8A21281.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)
#3F3B27
Deuteranopia (green-blind)
#5A5125
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2128;
/* rgb */ color: rgb(138, 33, 40);
/* oklch */ color: oklch(42.2% 0.140 22.2);
Tailwind
colors: {
  custom: {
    50: '#b36562',
    500: '#8a2128',
    950: '#000000',
  },
}
SCSS
$custom: #8a2128;
$custom-light: #b36562;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2128",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 356,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.13988,
    "h": 22.2
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#8A2128
secondary
#4EB9B1
accent
#E5DA43
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2128

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

Preview Lab → · Contrast checker → · Palette generator →

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