#8A1C4C#8A1C4C

#8A1C4C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.149 H 359.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8A1C4C
RGBrgb(138, 28, 76)
HSLhsl(334, 66%, 33%)
HSVhsv(334, 80%, 54%)
CMYKcmyk(0%, 79.7%, 44.9%, 45.9%)
CIE-LABlab(31.25, 48.58, -0.51)
CIE-LCHlch(31.25, 48.58, 359.39°)
OKLaboklab(42.69% 0.1493 -0.0008)
OKLCHoklch(42.69% 0.149 359.7)
XYZxyz(12.2019, 6.7572, 7.4978)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C4C #1C8A5A
analogous
#8A1C83 #8A1C4C #8A231C
triadic
#8A1C4C #4C8A1C #1C4C8A
tetradic
#8A1C4C #838A1C #1C8A5A #231C8A
square
#8A1C4C #838A1C #1C8A5A #231C8A
split-complementary
#8A1C4C #1C8A23 #1C838A
monochromatic
#240714 #571230 #8A1C4C #BD2668 #DA4787

Accessibility & contrast

On white

8.93
#8A1C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A1C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C4C
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C4C#FFFFFF#000000##FFFFFF
##8A1C4C1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4D
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#960531
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1c4c;
/* rgb */ color: rgb(138, 28, 76);
/* oklch */ color: oklch(42.7% 0.149 359.7);
Tailwind
colors: {
  custom: {
    50: '#b1647d',
    500: '#8a1c4c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c4c;
$custom-light: #b1647d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c4c",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 333.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.14928,
    "h": 359.7
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#8A1C4C
secondary
#46BB88
accent
#E99F3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8A1C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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