#8A2233#8A2233

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

Color values

HEX#8A2233
RGBrgb(138, 34, 51)
HSLhsl(350, 60%, 34%)
HSVhsv(350, 75%, 54%)
CMYKcmyk(0%, 75.4%, 63%, 45.9%)
CIE-LABlab(31.32, 44.42, 16.07)
CIE-LCHlch(31.32, 47.24, 19.88°)
OKLaboklab(42.53% 0.1328 0.0391)
OKLCHoklch(42.53% 0.138 16.4)
XYZxyz(11.6520, 6.7880, 3.8280)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2233 #228A79
analogous
#8A2267 #8A2233 #8A4522
triadic
#8A2233 #338A22 #22338A
tetradic
#8A2233 #678A22 #228A79 #45228A
square
#8A2233 #678A22 #228A79 #45228A
split-complementary
#8A2233 #228A45 #22678A
monochromatic
#280A0F #591621 #8A2233 #BB2E45 #D45267

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2233#FFFFFF#000000##FFFFFF
##8A22331.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)
#3E3C33
Deuteranopia (green-blind)
#595230
Tritanopia (blue-blind)
#980029
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2233;
/* rgb */ color: rgb(138, 34, 51);
/* oklch */ color: oklch(42.5% 0.138 16.4);
Tailwind
colors: {
  custom: {
    50: '#b2666a',
    500: '#8a2233',
    950: '#000000',
  },
}
SCSS
$custom: #8a2233;
$custom-light: #b2666a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2233",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 350.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.13847,
    "h": 16.4
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#8A2233
secondary
#50B8A7
accent
#E4CA44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A2233

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

Preview Lab → · Contrast checker → · Palette generator →

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