#8A2126#8A2126

#8A2126 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.140 H 23.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8A2126
RGBrgb(138, 33, 38)
HSLhsl(357, 61%, 34%)
HSVhsv(357, 76%, 54%)
CMYKcmyk(0%, 76.1%, 72.5%, 45.9%)
CIE-LABlab(30.96, 44.01, 24.00)
CIE-LCHlch(30.96, 50.13, 28.61°)
OKLaboklab(42.18% 0.1287 0.0553)
OKLCHoklch(42.18% 0.14 23.2)
XYZxyz(11.3762, 6.6327, 2.5146)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2126 #218A85
analogous
#8A215A #8A2126 #8A5021
triadic
#8A2126 #268A21 #21268A
tetradic
#8A2126 #5A8A21 #218A85 #50218A
square
#8A2126 #5A8A21 #218A85 #50218A
split-complementary
#8A2126 #218A50 #215A8A
monochromatic
#27090B #591518 #8A2126 #BB2D34 #D55057

Accessibility & contrast

On white

9.03
#8A2126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A2126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2126
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2126#FFFFFF#000000##FFFFFF
##8A21261.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A25
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2126;
/* rgb */ color: rgb(138, 33, 38);
/* oklch */ color: oklch(42.2% 0.140 23.2);
Tailwind
colors: {
  custom: {
    50: '#b46560',
    500: '#8a2126',
    950: '#000000',
  },
}
SCSS
$custom: #8a2126;
$custom-light: #b46560;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2126",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 357.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42183,
    "c": 0.14007,
    "h": 23.2
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#8A2126
secondary
#4EB9B3
accent
#E5DD43
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2126

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

Preview Lab → · Contrast checker → · Palette generator →

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