#8A1E4D#8A1E4D

#8A1E4D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.148 H 359.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8A1E4D
RGBrgb(138, 30, 77)
HSLhsl(334, 64%, 33%)
HSVhsv(334, 78%, 54%)
CMYKcmyk(0%, 78.3%, 44.2%, 45.9%)
CIE-LABlab(31.51, 48.04, -0.79)
CIE-LCHlch(31.51, 48.04, 359.05°)
OKLaboklab(42.89% 0.1476 -0.0015)
OKLCHoklch(42.89% 0.148 359.4)
XYZxyz(12.2860, 6.8692, 7.6987)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E4D #1E8A5B
analogous
#8A1E83 #8A1E4D #8A251E
triadic
#8A1E4D #4D8A1E #1E4D8A
tetradic
#8A1E4D #838A1E #1E8A5B #251E8A
square
#8A1E4D #838A1E #1E8A5B #251E8A
split-complementary
#8A1E4D #1E8A25 #1E838A
monochromatic
#250815 #581331 #8A1E4D #BC2969 #D84B88

Accessibility & contrast

On white

8.85
#8A1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E4D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E4D#FFFFFF#000000##FFFFFF
##8A1E4D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4E
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#960A33
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e4d;
/* rgb */ color: rgb(138, 30, 77);
/* oklch */ color: oklch(42.9% 0.148 359.4);
Tailwind
colors: {
  custom: {
    50: '#b1657e',
    500: '#8a1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e4d;
$custom-light: #b1657e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e4d",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 333.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42891,
    "c": 0.14757,
    "h": 359.4
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#8A1E4D
secondary
#4ABA89
accent
#E79F41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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