#8A1F53#8A1F53

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

Color values

HEX#8A1F53
RGBrgb(138, 31, 83)
HSLhsl(331, 63%, 33%)
HSVhsv(331, 78%, 54%)
CMYKcmyk(0%, 77.5%, 39.9%, 45.9%)
CIE-LABlab(31.83, 48.34, -4.25)
CIE-LCHlch(31.83, 48.53, 354.97°)
OKLaboklab(43.19% 0.1485 -0.0106)
OKLCHoklch(43.19% 0.149 355.9)
XYZxyz(12.5334, 7.0094, 8.8749)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F53 #1F8A56
analogous
#8A1F88 #8A1F53 #8A201F
triadic
#8A1F53 #538A1F #1F538A
tetradic
#8A1F53 #888A1F #1F8A56 #201F8A
square
#8A1F53 #888A1F #1F8A56 #201F8A
split-complementary
#8A1F53 #1F8A20 #1F888A
monochromatic
#260917 #581435 #8A1F53 #BC2A71 #D74C90

Accessibility & contrast

On white

8.74
#8A1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F53
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F53#FFFFFF#000000##FFFFFF
##8A1F531.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E54
Deuteranopia (green-blind)
#525251
Tritanopia (blue-blind)
#951136
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1f53;
/* rgb */ color: rgb(138, 31, 83);
/* oklch */ color: oklch(43.2% 0.149 355.9);
Tailwind
colors: {
  custom: {
    50: '#b16683',
    500: '#8a1f53',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f53;
$custom-light: #b16683;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f53",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 330.841,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43192,
    "c": 0.14887,
    "h": 355.9
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#8A1F53
secondary
#4BBA84
accent
#E69641
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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