#8A2138#8A2138

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

Color values

HEX#8A2138
RGBrgb(138, 33, 56)
HSLhsl(347, 61%, 34%)
HSVhsv(347, 76%, 54%)
CMYKcmyk(0%, 76.1%, 59.4%, 45.9%)
CIE-LABlab(31.30, 45.14, 12.75)
CIE-LCHlch(31.30, 46.91, 15.78°)
OKLaboklab(42.55% 0.1361 0.0317)
OKLCHoklch(42.55% 0.14 13.1)
XYZxyz(11.7400, 6.7782, 4.4307)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2138 #218A73
analogous
#8A216C #8A2138 #8A3E21
triadic
#8A2138 #388A21 #21388A
tetradic
#8A2138 #6C8A21 #218A73 #3E218A
square
#8A2138 #6C8A21 #218A73 #3E218A
split-complementary
#8A2138 #218A3E #216C8A
monochromatic
#270910 #591524 #8A2138 #BB2D4C #D5506D

Accessibility & contrast

On white

8.92
#8A2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2138
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2138#FFFFFF#000000##FFFFFF
##8A21381.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C38
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2138;
/* rgb */ color: rgb(138, 33, 56);
/* oklch */ color: oklch(42.5% 0.140 13.1);
Tailwind
colors: {
  custom: {
    50: '#b2666e',
    500: '#8a2138',
    950: '#000000',
  },
}
SCSS
$custom: #8a2138;
$custom-light: #b2666e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2138",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 346.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.13973,
    "h": 13.1
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#8A2138
secondary
#4EB9A1
accent
#E5C143
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A2138

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

Preview Lab → · Contrast checker → · Palette generator →

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