#8A1C58#8A1C58

#8A1C58 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.154 H 352.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8A1C58
RGBrgb(138, 28, 88)
HSLhsl(327, 66%, 33%)
HSVhsv(327, 80%, 54%)
CMYKcmyk(0%, 79.7%, 36.2%, 45.9%)
CIE-LABlab(31.67, 49.87, -7.75)
CIE-LCHlch(31.67, 50.47, 351.16°)
OKLaboklab(43.14% 0.1531 -0.0199)
OKLCHoklch(43.14% 0.154 352.6)
XYZxyz(12.6587, 6.9399, 9.9035)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C58 #1C8A4E
analogous
#851C8A #8A1C58 #8A1C21
triadic
#8A1C58 #588A1C #1C588A
tetradic
#8A1C58 #8A851C #1C8A4E #1C218A
square
#8A1C58 #8A851C #1C8A4E #1C218A
split-complementary
#8A1C58 #218A1C #1C8A85
monochromatic
#240717 #571238 #8A1C58 #BD2678 #DA4797

Accessibility & contrast

On white

8.80
#8A1C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A1C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C58
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C58#FFFFFF#000000##FFFFFF
##8A1C581.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5A
Deuteranopia (green-blind)
#505256
Tritanopia (blue-blind)
#951038
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1c58;
/* rgb */ color: rgb(138, 28, 88);
/* oklch */ color: oklch(43.1% 0.154 352.6);
Tailwind
colors: {
  custom: {
    50: '#b16587',
    500: '#8a1c58',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c58;
$custom-light: #b16587;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c58",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 88
  },
  "hsl": {
    "h": 327.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.15435,
    "h": 352.6
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#8A1C58
secondary
#46BB7C
accent
#E98C3F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1C58

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

Preview Lab → · Contrast checker → · Palette generator →

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