#8A2231#8A2231

#8A2231 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.138 H 17.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8A2231
RGBrgb(138, 34, 49)
HSLhsl(351, 60%, 34%)
HSVhsv(351, 75%, 54%)
CMYKcmyk(0%, 75.4%, 64.5%, 45.9%)
CIE-LABlab(31.28, 44.29, 17.32)
CIE-LCHlch(31.28, 47.55, 21.36°)
OKLaboklab(42.49% 0.132 0.0418)
OKLCHoklch(42.49% 0.138 17.6)
XYZxyz(11.6088, 6.7708, 3.6007)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2231 #228A7B
analogous
#8A2265 #8A2231 #8A4722
triadic
#8A2231 #318A22 #22318A
tetradic
#8A2231 #658A22 #228A7B #47228A
square
#8A2231 #658A22 #228A7B #47228A
split-complementary
#8A2231 #228A47 #22658A
monochromatic
#280A0E #591620 #8A2231 #BB2E42 #D45265

Accessibility & contrast

On white

8.92
#8A2231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A2231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2231
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2231#FFFFFF#000000##FFFFFF
##8A22311.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C31
Deuteranopia (green-blind)
#59522E
Tritanopia (blue-blind)
#980028
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2231;
/* rgb */ color: rgb(138, 34, 49);
/* oklch */ color: oklch(42.5% 0.138 17.6);
Tailwind
colors: {
  custom: {
    50: '#b36668',
    500: '#8a2231',
    950: '#000000',
  },
}
SCSS
$custom: #8a2231;
$custom-light: #b36668;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2231",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 351.346,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.13847,
    "h": 17.6
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#8A2231
secondary
#50B8A9
accent
#E4CD44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A2231

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

Preview Lab → · Contrast checker → · Palette generator →

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