#8A1C46#8A1C46

#8A1C46 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.147 H 3.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8A1C46
RGBrgb(138, 28, 70)
HSLhsl(337, 66%, 33%)
HSVhsv(337, 80%, 54%)
CMYKcmyk(0%, 79.7%, 49.3%, 45.9%)
CIE-LABlab(31.06, 48.00, 3.18)
CIE-LCHlch(31.06, 48.11, 3.79°)
OKLaboklab(42.49% 0.1471 0.0086)
OKLCHoklch(42.49% 0.147 3.4)
XYZxyz(12.0030, 6.6776, 6.4500)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C46 #1C8A60
analogous
#8A1C7D #8A1C46 #8A291C
triadic
#8A1C46 #468A1C #1C468A
tetradic
#8A1C46 #7D8A1C #1C8A60 #291C8A
square
#8A1C46 #7D8A1C #1C8A60 #291C8A
split-complementary
#8A1C46 #1C8A29 #1C7D8A
monochromatic
#240712 #57122C #8A1C46 #BD2660 #DA477F

Accessibility & contrast

On white

8.99
#8A1C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A1C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C46
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C46#FFFFFF#000000##FFFFFF
##8A1C461.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B47
Deuteranopia (green-blind)
#545143
Tritanopia (blue-blind)
#97002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1c46;
/* rgb */ color: rgb(138, 28, 70);
/* oklch */ color: oklch(42.5% 0.147 3.4);
Tailwind
colors: {
  custom: {
    50: '#b16479',
    500: '#8a1c46',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c46;
$custom-light: #b16479;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c46",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 337.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.14736,
    "h": 3.4
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#8A1C46
secondary
#46BB8F
accent
#E9A83F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1C46

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

Preview Lab → · Contrast checker → · Palette generator →

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