#8A1D58#8A1D58

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

Color values

HEX#8A1D58
RGBrgb(138, 29, 88)
HSLhsl(328, 65%, 33%)
HSVhsv(328, 79%, 54%)
CMYKcmyk(0%, 79%, 36.2%, 45.9%)
CIE-LABlab(31.78, 49.56, -7.59)
CIE-LCHlch(31.78, 50.13, 351.29°)
OKLaboklab(43.22% 0.1521 -0.0195)
OKLCHoklch(43.22% 0.153 352.7)
XYZxyz(12.6828, 6.9881, 9.9116)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D58 #1D8A4F
analogous
#851D8A #8A1D58 #8A1D22
triadic
#8A1D58 #588A1D #1D588A
tetradic
#8A1D58 #8A851D #1D8A4F #1D228A
square
#8A1D58 #8A851D #1D8A4F #1D228A
split-complementary
#8A1D58 #228A1D #1D8A85
monochromatic
#250818 #571238 #8A1D58 #BD2878 #D94997

Accessibility & contrast

On white

8.76
#8A1D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D58
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D58#FFFFFF#000000##FFFFFF
##8A1D581.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E5A
Deuteranopia (green-blind)
#515256
Tritanopia (blue-blind)
#951238
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1d58;
/* rgb */ color: rgb(138, 29, 88);
/* oklch */ color: oklch(43.2% 0.153 352.7);
Tailwind
colors: {
  custom: {
    50: '#b16587',
    500: '#8a1d58',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d58;
$custom-light: #b16587;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d58",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 327.523,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.15332,
    "h": 352.7
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#8A1D58
secondary
#48BB7D
accent
#E88D40
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1D58

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

Preview Lab → · Contrast checker → · Palette generator →

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