#8A2239#8A2239

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

Color values

HEX#8A2239
RGBrgb(138, 34, 57)
HSLhsl(347, 60%, 34%)
HSVhsv(347, 75%, 54%)
CMYKcmyk(0%, 75.4%, 58.7%, 45.9%)
CIE-LABlab(31.45, 44.86, 12.30)
CIE-LCHlch(31.45, 46.51, 15.34°)
OKLaboklab(42.67% 0.1353 0.0307)
OKLCHoklch(42.67% 0.139 12.8)
XYZxyz(11.7929, 6.8444, 4.5702)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2239 #228A73
analogous
#8A226D #8A2239 #8A3F22
triadic
#8A2239 #398A22 #22398A
tetradic
#8A2239 #6D8A22 #228A73 #3F228A
square
#8A2239 #6D8A22 #228A73 #3F228A
split-complementary
#8A2239 #228A3F #226D8A
monochromatic
#280A10 #591625 #8A2239 #BB2E4D #D4526F

Accessibility & contrast

On white

8.87
#8A2239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2239
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2239#FFFFFF#000000##FFFFFF
##8A22391.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C39
Deuteranopia (green-blind)
#585236
Tritanopia (blue-blind)
#97032C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2239;
/* rgb */ color: rgb(138, 34, 57);
/* oklch */ color: oklch(42.7% 0.139 12.8);
Tailwind
colors: {
  custom: {
    50: '#b2666f',
    500: '#8a2239',
    950: '#000000',
  },
}
SCSS
$custom: #8a2239;
$custom-light: #b2666f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2239",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 346.731,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42667,
    "c": 0.13877,
    "h": 12.8
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#8A2239
secondary
#50B8A1
accent
#E4C044
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A2239

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

Preview Lab → · Contrast checker → · Palette generator →

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