#8A1E3E#8A1E3E

#8A1E3E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.144 H 8.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8A1E3E
RGBrgb(138, 30, 62)
HSLhsl(342, 64%, 33%)
HSVhsv(342, 78%, 54%)
CMYKcmyk(0%, 78.3%, 55.1%, 45.9%)
CIE-LABlab(31.07, 46.66, 8.48)
CIE-LCHlch(31.07, 47.42, 10.30°)
OKLaboklab(42.43% 0.1419 0.0217)
OKLCHoklch(42.43% 0.144 8.7)
XYZxyz(11.8161, 6.6813, 5.2239)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E3E #1E8A6A
analogous
#8A1E74 #8A1E3E #8A341E
triadic
#8A1E3E #3E8A1E #1E3E8A
tetradic
#8A1E3E #748A1E #1E8A6A #341E8A
square
#8A1E3E #748A1E #1E8A6A #341E8A
split-complementary
#8A1E3E #1E8A34 #1E748A
monochromatic
#250811 #581327 #8A1E3E #BC2955 #D84B74

Accessibility & contrast

On white

8.99
#8A1E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A1E3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E3E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E3E#FFFFFF#000000##FFFFFF
##8A1E3E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B3F
Deuteranopia (green-blind)
#56513B
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1e3e;
/* rgb */ color: rgb(138, 30, 62);
/* oklch */ color: oklch(42.4% 0.144 8.7);
Tailwind
colors: {
  custom: {
    50: '#b26573',
    500: '#8a1e3e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e3e;
$custom-light: #b26573;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e3e",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 62
  },
  "hsl": {
    "h": 342.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.14355,
    "h": 8.7
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#8A1E3E
secondary
#4ABA99
accent
#E7B641
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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