#8A1F60#8A1F60

#8A1F60 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.155 H 348.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#8A1F60
RGBrgb(138, 31, 96)
HSLhsl(324, 63%, 33%)
HSVhsv(324, 78%, 54%)
CMYKcmyk(0%, 77.5%, 30.4%, 45.9%)
CIE-LABlab(32.32, 49.87, -11.96)
CIE-LCHlch(32.32, 51.29, 346.52°)
OKLaboklab(43.72% 0.1521 -0.0314)
OKLCHoklch(43.72% 0.155 348.3)
XYZxyz(13.0832, 7.2293, 11.7705)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F60 #1F8A49
analogous
#7E1F8A #8A1F60 #8A1F2B
triadic
#8A1F60 #608A1F #1F608A
tetradic
#8A1F60 #8A7E1F #1F8A49 #1F2B8A
square
#8A1F60 #8A7E1F #1F8A49 #1F2B8A
split-complementary
#8A1F60 #2B8A1F #1F8A7E
monochromatic
#26091A #58143D #8A1F60 #BC2A83 #D74CA1

Accessibility & contrast

On white

8.59
#8A1F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A1F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F60
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F60#FFFFFF#000000##FFFFFF
##8A1F601.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304062
Deuteranopia (green-blind)
#4F535E
Tritanopia (blue-blind)
#941A3D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1f60;
/* rgb */ color: rgb(138, 31, 96);
/* oklch */ color: oklch(43.7% 0.155 348.3);
Tailwind
colors: {
  custom: {
    50: '#b0668d',
    500: '#8a1f60',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f60;
$custom-light: #b0668d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f60",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 323.551,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43716,
    "c": 0.15534,
    "h": 348.3
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#8A1F60
secondary
#4BBA77
accent
#E68241
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1F60

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

Preview Lab → · Contrast checker → · Palette generator →

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