#8A1E38#8A1E38

#8A1E38 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.143 H 12.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8A1E38
RGBrgb(138, 30, 56)
HSLhsl(346, 64%, 33%)
HSVhsv(346, 78%, 54%)
CMYKcmyk(0%, 78.3%, 59.4%, 45.9%)
CIE-LABlab(30.92, 46.19, 12.25)
CIE-LCHlch(30.92, 47.79, 14.85°)
OKLaboklab(42.27% 0.1395 0.0305)
OKLCHoklch(42.27% 0.143 12.3)
XYZxyz(11.6605, 6.6190, 4.4042)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E38 #1E8A70
analogous
#8A1E6E #8A1E38 #8A3A1E
triadic
#8A1E38 #388A1E #1E388A
tetradic
#8A1E38 #6E8A1E #1E8A70 #3A1E8A
square
#8A1E38 #6E8A1E #1E8A70 #3A1E8A
split-complementary
#8A1E38 #1E8A3A #1E6E8A
monochromatic
#25080F #581324 #8A1E38 #BC294C #D84B6D

Accessibility & contrast

On white

9.04
#8A1E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E38
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E38#FFFFFF#000000##FFFFFF
##8A1E381.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B38
Deuteranopia (green-blind)
#575135
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1e38;
/* rgb */ color: rgb(138, 30, 56);
/* oklch */ color: oklch(42.3% 0.143 12.3);
Tailwind
colors: {
  custom: {
    50: '#b2646e',
    500: '#8a1e38',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e38;
$custom-light: #b2646e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e38",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 345.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4227,
    "c": 0.14274,
    "h": 12.3
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#8A1E38
secondary
#4ABA9F
accent
#E7BF41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1E38

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

Preview Lab → · Contrast checker → · Palette generator →

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