#8A2331#8A2331

#8A2331 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.137 H 17.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8A2331
RGBrgb(138, 35, 49)
HSLhsl(352, 60%, 34%)
HSVhsv(352, 75%, 54%)
CMYKcmyk(0%, 74.6%, 64.5%, 45.9%)
CIE-LABlab(31.41, 43.91, 17.49)
CIE-LCHlch(31.41, 47.27, 21.72°)
OKLaboklab(42.59% 0.1308 0.0422)
OKLCHoklch(42.59% 0.137 17.9)
XYZxyz(11.6378, 6.8288, 3.6104)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2331 #238A7C
analogous
#8A2365 #8A2331 #8A4923
triadic
#8A2331 #318A23 #23318A
tetradic
#8A2331 #658A23 #238A7C #49238A
square
#8A2331 #658A23 #238A7C #49238A
split-complementary
#8A2331 #238A49 #23658A
monochromatic
#280A0E #591720 #8A2331 #BB2F42 #D45465

Accessibility & contrast

On white

8.88
#8A2331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A2331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2331
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2331#FFFFFF#000000##FFFFFF
##8A23311.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2331;
/* rgb */ color: rgb(138, 35, 49);
/* oklch */ color: oklch(42.6% 0.137 17.9);
Tailwind
colors: {
  custom: {
    50: '#b36668',
    500: '#8a2331',
    950: '#000000',
  },
}
SCSS
$custom: #8a2331;
$custom-light: #b36668;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2331",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 351.845,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42585,
    "c": 0.13745,
    "h": 17.9
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#8A2331
secondary
#51B7AA
accent
#E3CD45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A2331

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

Preview Lab → · Contrast checker → · Palette generator →

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