#8A1C39#8A1C39

#8A1C39 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.145 H 11.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8A1C39
RGBrgb(138, 28, 57)
HSLhsl(344, 66%, 33%)
HSVhsv(344, 80%, 54%)
CMYKcmyk(0%, 79.7%, 58.7%, 45.9%)
CIE-LABlab(30.71, 46.92, 11.30)
CIE-LCHlch(30.71, 48.26, 13.54°)
OKLaboklab(42.12% 0.142 0.0283)
OKLCHoklch(42.12% 0.145 11.3)
XYZxyz(11.6362, 6.5309, 4.5180)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C39 #1C8A6D
analogous
#8A1C70 #8A1C39 #8A361C
triadic
#8A1C39 #398A1C #1C398A
tetradic
#8A1C39 #708A1C #1C8A6D #361C8A
square
#8A1C39 #708A1C #1C8A6D #361C8A
split-complementary
#8A1C39 #1C8A36 #1C708A
monochromatic
#24070F #571224 #8A1C39 #BD264E #DA476D

Accessibility & contrast

On white

9.11
#8A1C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C39
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C39#FFFFFF#000000##FFFFFF
##8A1C391.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A39
Deuteranopia (green-blind)
#565036
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1c39;
/* rgb */ color: rgb(138, 28, 57);
/* oklch */ color: oklch(42.1% 0.145 11.3);
Tailwind
colors: {
  custom: {
    50: '#b2646f',
    500: '#8a1c39',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c39;
$custom-light: #b2646f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c39",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 57
  },
  "hsl": {
    "h": 344.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42123,
    "c": 0.14477,
    "h": 11.3
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#8A1C39
secondary
#46BB9D
accent
#E9BC3F
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1C39

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

Preview Lab → · Contrast checker → · Palette generator →

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