#8A1C42#8A1C42

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

Color values

HEX#8A1C42
RGBrgb(138, 28, 66)
HSLhsl(339, 66%, 33%)
HSVhsv(339, 80%, 54%)
CMYKcmyk(0%, 79.7%, 52.2%, 45.9%)
CIE-LABlab(30.95, 47.64, 5.66)
CIE-LCHlch(30.95, 47.98, 6.77°)
OKLaboklab(42.37% 0.1456 0.0148)
OKLCHoklch(42.37% 0.146 5.8)
XYZxyz(11.8809, 6.6288, 5.8071)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C42 #1C8A64
analogous
#8A1C79 #8A1C42 #8A2D1C
triadic
#8A1C42 #428A1C #1C428A
tetradic
#8A1C42 #798A1C #1C8A64 #2D1C8A
square
#8A1C42 #798A1C #1C8A64 #2D1C8A
split-complementary
#8A1C42 #1C8A2D #1C798A
monochromatic
#240711 #57122A #8A1C42 #BD265A #DA477A

Accessibility & contrast

On white

9.03
#8A1C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C42
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C42#FFFFFF#000000##FFFFFF
##8A1C421.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#55513F
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1c42;
/* rgb */ color: rgb(138, 28, 66);
/* oklch */ color: oklch(42.4% 0.146 5.8);
Tailwind
colors: {
  custom: {
    50: '#b26476',
    500: '#8a1c42',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c42;
$custom-light: #b26476;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c42",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 339.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4237,
    "c": 0.14634,
    "h": 5.8
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#8A1C42
secondary
#46BB93
accent
#E9AE3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1C42

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

Preview Lab → · Contrast checker → · Palette generator →

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