#8A2228#8A2228

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

Color values

HEX#8A2228
RGBrgb(138, 34, 40)
HSLhsl(357, 60%, 34%)
HSVhsv(357, 75%, 54%)
CMYKcmyk(0%, 75.4%, 71%, 45.9%)
CIE-LABlab(31.12, 43.75, 22.93)
CIE-LCHlch(31.12, 49.39, 27.66°)
OKLaboklab(42.32% 0.1283 0.0533)
OKLCHoklch(42.32% 0.139 22.5)
XYZxyz(11.4375, 6.7023, 2.6985)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2228 #228A84
analogous
#8A225C #8A2228 #8A5022
triadic
#8A2228 #288A22 #22288A
tetradic
#8A2228 #5C8A22 #228A84 #50228A
square
#8A2228 #5C8A22 #228A84 #50228A
split-complementary
#8A2228 #228A50 #225C8A
monochromatic
#280A0C #59161A #8A2228 #BB2E36 #D4525A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2228#FFFFFF#000000##FFFFFF
##8A22281.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)
#403B27
Deuteranopia (green-blind)
#5A5125
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2228;
/* rgb */ color: rgb(138, 34, 40);
/* oklch */ color: oklch(42.3% 0.139 22.5);
Tailwind
colors: {
  custom: {
    50: '#b36662',
    500: '#8a2228',
    950: '#000000',
  },
}
SCSS
$custom: #8a2228;
$custom-light: #b36662;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2228",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.538,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.13894,
    "h": 22.5
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#8A2228
secondary
#50B8B2
accent
#E4DA44
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2228

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

Preview Lab → · Contrast checker → · Palette generator →

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