#8A1C41#8A1C41

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

Color values

HEX#8A1C41
RGBrgb(138, 28, 65)
HSLhsl(340, 66%, 33%)
HSVhsv(340, 80%, 54%)
CMYKcmyk(0%, 79.7%, 52.9%, 45.9%)
CIE-LABlab(30.92, 47.56, 6.28)
CIE-LCHlch(30.92, 47.97, 7.53°)
OKLaboklab(42.34% 0.1452 0.0163)
OKLCHoklch(42.34% 0.146 6.4)
XYZxyz(11.8517, 6.6171, 5.6532)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C41 #1C8A65
analogous
#8A1C78 #8A1C41 #8A2E1C
triadic
#8A1C41 #418A1C #1C418A
tetradic
#8A1C41 #788A1C #1C8A65 #2E1C8A
square
#8A1C41 #788A1C #1C8A65 #2E1C8A
split-complementary
#8A1C41 #1C8A2E #1C788A
monochromatic
#240711 #571229 #8A1C41 #BD2659 #DA4778

Accessibility & contrast

On white

9.04
#8A1C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C41
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C41#FFFFFF#000000##FFFFFF
##8A1C411.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B42
Deuteranopia (green-blind)
#55513E
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1c41;
/* rgb */ color: rgb(138, 28, 65);
/* oklch */ color: oklch(42.3% 0.146 6.4);
Tailwind
colors: {
  custom: {
    50: '#b26475',
    500: '#8a1c41',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c41;
$custom-light: #b26475;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c41",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 339.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42341,
    "c": 0.14611,
    "h": 6.4
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#8A1C41
secondary
#46BB94
accent
#E9B03F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8A1C41

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

Preview Lab → · Contrast checker → · Palette generator →

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