#8A223C#8A223C

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

Color values

HEX#8A223C
RGBrgb(138, 34, 60)
HSLhsl(345, 60%, 34%)
HSVhsv(345, 75%, 54%)
CMYKcmyk(0%, 75.4%, 56.5%, 45.9%)
CIE-LABlab(31.52, 45.09, 10.43)
CIE-LCHlch(31.52, 46.28, 13.02°)
OKLaboklab(42.74% 0.1366 0.0263)
OKLCHoklch(42.74% 0.139 10.9)
XYZxyz(11.8700, 6.8752, 4.9761)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A223C #228A70
analogous
#8A2270 #8A223C #8A3C22
triadic
#8A223C #3C8A22 #223C8A
tetradic
#8A223C #708A22 #228A70 #3C228A
square
#8A223C #708A22 #228A70 #3C228A
split-complementary
#8A223C #228A3C #22708A
monochromatic
#280A11 #591627 #8A223C #BB2E51 #D45273

Accessibility & contrast

On white

8.84
#8A223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A223C
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A223C#FFFFFF#000000##FFFFFF
##8A223C1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3D3C
Deuteranopia (green-blind)
#585239
Tritanopia (blue-blind)
#97052D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a223c;
/* rgb */ color: rgb(138, 34, 60);
/* oklch */ color: oklch(42.7% 0.139 10.9);
Tailwind
colors: {
  custom: {
    50: '#b26671',
    500: '#8a223c',
    950: '#000000',
  },
}
SCSS
$custom: #8a223c;
$custom-light: #b26671;
$custom-dark: #000000;
JSON
{
  "hex": "#8a223c",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 345,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.13909,
    "h": 10.9
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#8A223C
secondary
#50B89E
accent
#E4BC44
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A223C

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

Preview Lab → · Contrast checker → · Palette generator →

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