#8A1C47#8A1C47

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

Color values

HEX#8A1C47
RGBrgb(138, 28, 71)
HSLhsl(337, 66%, 33%)
HSVhsv(337, 80%, 54%)
CMYKcmyk(0%, 79.7%, 48.6%, 45.9%)
CIE-LABlab(31.09, 48.09, 2.56)
CIE-LCHlch(31.09, 48.16, 3.04°)
OKLaboklab(42.52% 0.1475 0.0071)
OKLCHoklch(42.52% 0.148 2.7)
XYZxyz(12.0348, 6.6904, 6.6177)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C47 #1C8A5F
analogous
#8A1C7E #8A1C47 #8A281C
triadic
#8A1C47 #478A1C #1C478A
tetradic
#8A1C47 #7E8A1C #1C8A5F #281C8A
square
#8A1C47 #7E8A1C #1C8A5F #281C8A
split-complementary
#8A1C47 #1C8A28 #1C7E8A
monochromatic
#240713 #57122D #8A1C47 #BD2661 #DA4780

Accessibility & contrast

On white

8.98
#8A1C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C47
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C47#FFFFFF#000000##FFFFFF
##8A1C471.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#545144
Tritanopia (blue-blind)
#96012F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1c47;
/* rgb */ color: rgb(138, 28, 71);
/* oklch */ color: oklch(42.5% 0.148 2.7);
Tailwind
colors: {
  custom: {
    50: '#b1647a',
    500: '#8a1c47',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c47;
$custom-light: #b1647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c47",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 71
  },
  "hsl": {
    "h": 336.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42524,
    "c": 0.14765,
    "h": 2.7
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#8A1C47
secondary
#46BB8E
accent
#E9A73F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1C47

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

Preview Lab → · Contrast checker → · Palette generator →

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