#8A1E3F#8A1E3F

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

Color values

HEX#8A1E3F
RGBrgb(138, 30, 63)
HSLhsl(342, 64%, 33%)
HSVhsv(342, 78%, 54%)
CMYKcmyk(0%, 78.3%, 54.3%, 45.9%)
CIE-LABlab(31.10, 46.74, 7.86)
CIE-LCHlch(31.10, 47.39, 9.54°)
OKLaboklab(42.45% 0.1423 0.0202)
OKLCHoklch(42.45% 0.144 8.1)
XYZxyz(11.8438, 6.6924, 5.3698)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E3F #1E8A69
analogous
#8A1E75 #8A1E3F #8A331E
triadic
#8A1E3F #3F8A1E #1E3F8A
tetradic
#8A1E3F #758A1E #1E8A69 #331E8A
square
#8A1E3F #758A1E #1E8A69 #331E8A
split-complementary
#8A1E3F #1E8A33 #1E758A
monochromatic
#250811 #581328 #8A1E3F #BC2956 #D84B76

Accessibility & contrast

On white

8.98
#8A1E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E3F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E3F#FFFFFF#000000##FFFFFF
##8A1E3F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1e3f;
/* rgb */ color: rgb(138, 30, 63);
/* oklch */ color: oklch(42.5% 0.144 8.1);
Tailwind
colors: {
  custom: {
    50: '#b26573',
    500: '#8a1e3f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e3f;
$custom-light: #b26573;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e3f",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 63
  },
  "hsl": {
    "h": 341.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42454,
    "c": 0.14373,
    "h": 8.1
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#8A1E3F
secondary
#4ABA98
accent
#E7B441
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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