#8E2138#8E2138

#8E2138 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.3% C 0.144 H 13.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8E2138
RGBrgb(142, 33, 56)
HSLhsl(347, 62%, 34%)
HSVhsv(347, 77%, 56%)
CMYKcmyk(0%, 76.8%, 60.6%, 44.3%)
CIE-LABlab(32.09, 46.39, 13.96)
CIE-LCHlch(32.09, 48.45, 16.75°)
OKLaboklab(43.28% 0.1396 0.0344)
OKLCHoklch(43.28% 0.144 13.9)
XYZxyz(12.4142, 7.1258, 4.4623)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2138 #218E77
analogous
#8E216F #8E2138 #8E4021
triadic
#8E2138 #388E21 #21388E
tetradic
#8E2138 #6F8E21 #218E77 #40218E
square
#8E2138 #6F8E21 #218E77 #40218E
split-complementary
#8E2138 #218E40 #216F8E
monochromatic
#2B0A11 #5C1524 #8E2138 #C02D4C #D7526E

Accessibility & contrast

On white

8.66
#8E2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2138
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2138#FFFFFF#000000##FFFFFF
##8E21381.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D38
Deuteranopia (green-blind)
#5B5435
Tritanopia (blue-blind)
#9C002B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2138;
/* rgb */ color: rgb(142, 33, 56);
/* oklch */ color: oklch(43.3% 0.144 13.9);
Tailwind
colors: {
  custom: {
    50: '#b5666e',
    500: '#8e2138',
    950: '#000000',
  },
}
SCSS
$custom: #8e2138;
$custom-light: #b5666e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2138",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 347.339,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.14379,
    "h": 13.9
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#8E2138
secondary
#50BAA4
accent
#E5C342
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E2138

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

Preview Lab → · Contrast checker → · Palette generator →

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