#8A2232#8A2232

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

Color values

HEX#8A2232
RGBrgb(138, 34, 50)
HSLhsl(351, 60%, 34%)
HSVhsv(351, 75%, 54%)
CMYKcmyk(0%, 75.4%, 63.8%, 45.9%)
CIE-LABlab(31.30, 44.35, 16.69)
CIE-LCHlch(31.30, 47.39, 20.62°)
OKLaboklab(42.51% 0.1324 0.0404)
OKLCHoklch(42.51% 0.138 17)
XYZxyz(11.6302, 6.7793, 3.7131)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2232 #228A7A
analogous
#8A2266 #8A2232 #8A4622
triadic
#8A2232 #328A22 #22328A
tetradic
#8A2232 #668A22 #228A7A #46228A
square
#8A2232 #668A22 #228A7A #46228A
split-complementary
#8A2232 #228A46 #22668A
monochromatic
#280A0E #591620 #8A2232 #BB2E44 #D45266

Accessibility & contrast

On white

8.91
#8A2232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A2232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2232
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2232#FFFFFF#000000##FFFFFF
##8A22321.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C32
Deuteranopia (green-blind)
#59522F
Tritanopia (blue-blind)
#980029
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2232;
/* rgb */ color: rgb(138, 34, 50);
/* oklch */ color: oklch(42.5% 0.138 17.0);
Tailwind
colors: {
  custom: {
    50: '#b36669',
    500: '#8a2232',
    950: '#000000',
  },
}
SCSS
$custom: #8a2232;
$custom-light: #b36669;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2232",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 50
  },
  "hsl": {
    "h": 350.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.13846,
    "h": 17
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#8A2232
secondary
#50B8A8
accent
#E4CB44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A2232

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

Preview Lab → · Contrast checker → · Palette generator →

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