#8A223A#8A223A

#8A223A is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.139 H 12.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#8A223A
RGBrgb(138, 34, 58)
HSLhsl(346, 60%, 34%)
HSVhsv(346, 75%, 54%)
CMYKcmyk(0%, 75.4%, 58%, 45.9%)
CIE-LABlab(31.47, 44.93, 11.68)
CIE-LCHlch(31.47, 46.43, 14.57°)
OKLaboklab(42.69% 0.1358 0.0292)
OKLCHoklch(42.69% 0.139 12.1)
XYZxyz(11.8181, 6.8545, 4.7029)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A223A #228A72
analogous
#8A226E #8A223A #8A3E22
triadic
#8A223A #3A8A22 #223A8A
tetradic
#8A223A #6E8A22 #228A72 #3E228A
square
#8A223A #6E8A22 #228A72 #3E228A
split-complementary
#8A223A #228A3E #226E8A
monochromatic
#280A11 #591625 #8A223A #BB2E4F #D45270

Accessibility & contrast

On white

8.86
#8A223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A223A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A223A#FFFFFF#000000##FFFFFF
##8A223A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C3A
Deuteranopia (green-blind)
#585237
Tritanopia (blue-blind)
#97042C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a223a;
/* rgb */ color: rgb(138, 34, 58);
/* oklch */ color: oklch(42.7% 0.139 12.1);
Tailwind
colors: {
  custom: {
    50: '#b2666f',
    500: '#8a223a',
    950: '#000000',
  },
}
SCSS
$custom: #8a223a;
$custom-light: #b2666f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a223a",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 346.154,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42692,
    "c": 0.13886,
    "h": 12.1
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#8A223A
secondary
#50B8A0
accent
#E4BF44
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A223A

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

Preview Lab → · Contrast checker → · Palette generator →

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