#8A1E34#8A1E34

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

Color values

HEX#8A1E34
RGBrgb(138, 30, 52)
HSLhsl(348, 64%, 33%)
HSVhsv(348, 78%, 54%)
CMYKcmyk(0%, 78.3%, 62.3%, 45.9%)
CIE-LABlab(30.83, 45.90, 14.77)
CIE-LCHlch(30.83, 48.22, 17.84°)
OKLaboklab(42.18% 0.1378 0.0361)
OKLCHoklch(42.18% 0.142 14.7)
XYZxyz(11.5665, 6.5815, 3.9094)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E34 #1E8A74
analogous
#8A1E6A #8A1E34 #8A3E1E
triadic
#8A1E34 #348A1E #1E348A
tetradic
#8A1E34 #6A8A1E #1E8A74 #3E1E8A
square
#8A1E34 #6A8A1E #1E8A74 #3E1E8A
split-complementary
#8A1E34 #1E8A3E #1E6A8A
monochromatic
#25080E #581321 #8A1E34 #BC2947 #D84B67

Accessibility & contrast

On white

9.07
#8A1E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A1E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E34
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E34#FFFFFF#000000##FFFFFF
##8A1E341.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3A34
Deuteranopia (green-blind)
#585131
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1e34;
/* rgb */ color: rgb(138, 30, 52);
/* oklch */ color: oklch(42.2% 0.142 14.7);
Tailwind
colors: {
  custom: {
    50: '#b3646b',
    500: '#8a1e34',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e34;
$custom-light: #b3646b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e34",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 52
  },
  "hsl": {
    "h": 347.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.14245,
    "h": 14.7
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#8A1E34
secondary
#4ABAA3
accent
#E7C541
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1E34

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

Preview Lab → · Contrast checker → · Palette generator →

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