#8A1D5F#8A1D5F

#8A1D5F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.157 H 348.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8A1D5F
RGBrgb(138, 29, 95)
HSLhsl(324, 65%, 33%)
HSVhsv(324, 79%, 54%)
CMYKcmyk(0%, 79%, 31.2%, 45.9%)
CIE-LABlab(32.06, 50.39, -11.72)
CIE-LCHlch(32.06, 51.74, 346.91°)
OKLaboklab(43.51% 0.1539 -0.0308)
OKLCHoklch(43.51% 0.157 348.7)
XYZxyz(12.9868, 7.1097, 11.5127)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D5F #1D8A48
analogous
#7E1D8A #8A1D5F #8A1D28
triadic
#8A1D5F #5F8A1D #1D5F8A
tetradic
#8A1D5F #8A7E1D #1D8A48 #1D288A
square
#8A1D5F #8A7E1D #1D8A48 #1D288A
split-complementary
#8A1D5F #288A1D #1D8A7E
monochromatic
#250819 #57123C #8A1D5F #BD2882 #D949A0

Accessibility & contrast

On white

8.67
#8A1D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A1D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D5F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D5F#FFFFFF#000000##FFFFFF
##8A1D5F1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#4F525D
Tritanopia (blue-blind)
#94173C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1d5f;
/* rgb */ color: rgb(138, 29, 95);
/* oklch */ color: oklch(43.5% 0.157 348.7);
Tailwind
colors: {
  custom: {
    50: '#b0658c',
    500: '#8a1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d5f;
$custom-light: #b0658c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d5f",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 323.67,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43508,
    "c": 0.15695,
    "h": 348.7
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#8A1D5F
secondary
#48BB75
accent
#E88240
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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