#8A1D4F#8A1D4F

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

Color values

HEX#8A1D4F
RGBrgb(138, 29, 79)
HSLhsl(332, 65%, 33%)
HSVhsv(332, 79%, 54%)
CMYKcmyk(0%, 79%, 42.8%, 45.9%)
CIE-LABlab(31.46, 48.57, -2.18)
CIE-LCHlch(31.46, 48.62, 357.43°)
OKLaboklab(42.88% 0.1493 -0.0051)
OKLCHoklch(42.88% 0.149 358)
XYZxyz(12.3328, 6.8481, 8.0680)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D4F #1D8A58
analogous
#8A1D85 #8A1D4F #8A221D
triadic
#8A1D4F #4F8A1D #1D4F8A
tetradic
#8A1D4F #858A1D #1D8A58 #221D8A
square
#8A1D4F #858A1D #1D8A58 #221D8A
split-complementary
#8A1D4F #1D8A22 #1D858A
monochromatic
#250815 #571232 #8A1D4F #BD286C #D9498B

Accessibility & contrast

On white

8.86
#8A1D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A1D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D4F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D4F#FFFFFF#000000##FFFFFF
##8A1D4F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D50
Deuteranopia (green-blind)
#53514D
Tritanopia (blue-blind)
#960A33
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1d4f;
/* rgb */ color: rgb(138, 29, 79);
/* oklch */ color: oklch(42.9% 0.149 358.0);
Tailwind
colors: {
  custom: {
    50: '#b16580',
    500: '#8a1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d4f;
$custom-light: #b16580;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d4f",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 332.477,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.14937,
    "h": 358
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#8A1D4F
secondary
#48BB86
accent
#E89B40
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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