#8A1F54#8A1F54

#8A1F54 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.149 H 355.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8A1F54
RGBrgb(138, 31, 84)
HSLhsl(330, 63%, 33%)
HSVhsv(330, 78%, 54%)
CMYKcmyk(0%, 77.5%, 39.1%, 45.9%)
CIE-LABlab(31.86, 48.45, -4.85)
CIE-LCHlch(31.86, 48.69, 354.28°)
OKLaboklab(43.23% 0.1488 -0.0122)
OKLCHoklch(43.23% 0.149 355.3)
XYZxyz(12.5723, 7.0249, 9.0797)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F54 #1F8A55
analogous
#8A1F89 #8A1F54 #8A1F1F
triadic
#8A1F54 #548A1F #1F548A
tetradic
#8A1F54 #898A1F #1F8A55 #1F1F8A
square
#8A1F54 #898A1F #1F8A55 #1F1F8A
split-complementary
#8A1F54 #1F8A1F #1F898A
monochromatic
#260917 #581436 #8A1F54 #BC2A72 #D74C91

Accessibility & contrast

On white

8.73
#8A1F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A1F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F54
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F54#FFFFFF#000000##FFFFFF
##8A1F541.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1f54;
/* rgb */ color: rgb(138, 31, 84);
/* oklch */ color: oklch(43.2% 0.149 355.3);
Tailwind
colors: {
  custom: {
    50: '#b16684',
    500: '#8a1f54',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f54;
$custom-light: #b16684;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f54",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 330.28,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4323,
    "c": 0.14931,
    "h": 355.3
  },
  "luminance": 0.07023
}

Semantic roles & 50–950 ramp

primary
#8A1F54
secondary
#4BBA83
accent
#E69541
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1F54

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

Preview Lab → · Contrast checker → · Palette generator →

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