#8A2237#8A2237

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

Color values

HEX#8A2237
RGBrgb(138, 34, 55)
HSLhsl(348, 60%, 34%)
HSVhsv(348, 75%, 54%)
CMYKcmyk(0%, 75.4%, 60.1%, 45.9%)
CIE-LABlab(31.40, 44.71, 13.56)
CIE-LCHlch(31.40, 46.72, 16.87°)
OKLaboklab(42.62% 0.1345 0.0335)
OKLCHoklch(42.62% 0.139 14)
XYZxyz(11.7440, 6.8248, 4.3126)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2237 #228A75
analogous
#8A226B #8A2237 #8A4122
triadic
#8A2237 #378A22 #22378A
tetradic
#8A2237 #6B8A22 #228A75 #41228A
square
#8A2237 #6B8A22 #228A75 #41228A
split-complementary
#8A2237 #228A41 #226B8A
monochromatic
#280A10 #591623 #8A2237 #BB2E4B #D4526C

Accessibility & contrast

On white

8.88
#8A2237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2237
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2237#FFFFFF#000000##FFFFFF
##8A22371.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C37
Deuteranopia (green-blind)
#585234
Tritanopia (blue-blind)
#97022B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2237;
/* rgb */ color: rgb(138, 34, 55);
/* oklch */ color: oklch(42.6% 0.139 14.0);
Tailwind
colors: {
  custom: {
    50: '#b2666d',
    500: '#8a2237',
    950: '#000000',
  },
}
SCSS
$custom: #8a2237;
$custom-light: #b2666d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2237",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 347.885,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.13862,
    "h": 14
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#8A2237
secondary
#50B8A3
accent
#E4C344
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A2237

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

Preview Lab → · Contrast checker → · Palette generator →

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