#8A1C4F#8A1C4F

#8A1C4F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.150 H 357.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#8A1C4F
RGBrgb(138, 28, 79)
HSLhsl(332, 66%, 33%)
HSVhsv(332, 80%, 54%)
CMYKcmyk(0%, 79.7%, 42.8%, 45.9%)
CIE-LABlab(31.35, 48.88, -2.34)
CIE-LCHlch(31.35, 48.94, 357.26°)
OKLaboklab(42.8% 0.1503 -0.0055)
OKLCHoklch(42.8% 0.15 357.9)
XYZxyz(12.3087, 6.7999, 8.0600)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C4F #1C8A57
analogous
#8A1C86 #8A1C4F #8A201C
triadic
#8A1C4F #4F8A1C #1C4F8A
tetradic
#8A1C4F #868A1C #1C8A57 #201C8A
square
#8A1C4F #868A1C #1C8A57 #201C8A
split-complementary
#8A1C4F #1C8A20 #1C868A
monochromatic
#240715 #571232 #8A1C4F #BD266C #DA478B

Accessibility & contrast

On white

8.90
#8A1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A1C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C4F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C4F#FFFFFF#000000##FFFFFF
##8A1C4F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D50
Deuteranopia (green-blind)
#53514D
Tritanopia (blue-blind)
#960833
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1c4f;
/* rgb */ color: rgb(138, 28, 79);
/* oklch */ color: oklch(42.8% 0.150 357.9);
Tailwind
colors: {
  custom: {
    50: '#b16480',
    500: '#8a1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c4f;
$custom-light: #b16480;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c4f",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 332.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42795,
    "c": 0.15039,
    "h": 357.9
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#8A1C4F
secondary
#46BB85
accent
#E99A3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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