#8A1C3F#8A1C3F

#8A1C3F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.146 H 7.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8A1C3F
RGBrgb(138, 28, 63)
HSLhsl(341, 66%, 33%)
HSVhsv(341, 80%, 54%)
CMYKcmyk(0%, 79.7%, 54.3%, 45.9%)
CIE-LABlab(30.86, 47.39, 7.53)
CIE-LCHlch(30.86, 47.99, 9.03°)
OKLaboklab(42.28% 0.1444 0.0194)
OKLCHoklch(42.28% 0.146 7.6)
XYZxyz(11.7948, 6.5943, 5.3534)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C3F #1C8A67
analogous
#8A1C76 #8A1C3F #8A301C
triadic
#8A1C3F #3F8A1C #1C3F8A
tetradic
#8A1C3F #768A1C #1C8A67 #301C8A
square
#8A1C3F #768A1C #1C8A67 #301C8A
split-complementary
#8A1C3F #1C8A30 #1C768A
monochromatic
#240711 #571228 #8A1C3F #BD2656 #DA4776

Accessibility & contrast

On white

9.06
#8A1C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C3F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C3F#FFFFFF#000000##FFFFFF
##8A1C3F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1c3f;
/* rgb */ color: rgb(138, 28, 63);
/* oklch */ color: oklch(42.3% 0.146 7.6);
Tailwind
colors: {
  custom: {
    50: '#b26473',
    500: '#8a1c3f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c3f;
$custom-light: #b26473;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c3f",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 340.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.1457,
    "h": 7.6
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#8A1C3F
secondary
#46BB96
accent
#E9B33F
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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