#8A1F55#8A1F55

#8A1F55 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.150 H 354.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8A1F55
RGBrgb(138, 31, 85)
HSLhsl(330, 63%, 33%)
HSVhsv(330, 78%, 54%)
CMYKcmyk(0%, 77.5%, 38.4%, 45.9%)
CIE-LABlab(31.90, 48.56, -5.45)
CIE-LCHlch(31.90, 48.87, 353.59°)
OKLaboklab(43.27% 0.1491 -0.0138)
OKLCHoklch(43.27% 0.15 354.7)
XYZxyz(12.6117, 7.0407, 9.2874)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F55 #1F8A54
analogous
#891F8A #8A1F55 #8A1F1F
triadic
#8A1F55 #558A1F #1F558A
tetradic
#8A1F55 #8A891F #1F8A54 #1F1F8A
square
#8A1F55 #8A891F #1F8A54 #1F1F8A
split-complementary
#8A1F55 #1F8A1F #1F8A89
monochromatic
#260917 #581436 #8A1F55 #BC2A74 #D74C92

Accessibility & contrast

On white

8.72
#8A1F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A1F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F55
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F55#FFFFFF#000000##FFFFFF
##8A1F551.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343E56
Deuteranopia (green-blind)
#525253
Tritanopia (blue-blind)
#951237
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1f55;
/* rgb */ color: rgb(138, 31, 85);
/* oklch */ color: oklch(43.3% 0.150 354.7);
Tailwind
colors: {
  custom: {
    50: '#b16684',
    500: '#8a1f55',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f55;
$custom-light: #b16684;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f55",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 329.72,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43268,
    "c": 0.14976,
    "h": 354.7
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#8A1F55
secondary
#4BBA82
accent
#E69341
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1F55

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

Preview Lab → · Contrast checker → · Palette generator →

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