#8A1B62#8A1B62

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

Color values

HEX#8A1B62
RGBrgb(138, 27, 98)
HSLhsl(322, 67%, 32%)
HSVhsv(322, 80%, 54%)
CMYKcmyk(0%, 80.4%, 29%, 45.9%)
CIE-LABlab(31.97, 51.38, -13.79)
CIE-LCHlch(31.97, 53.20, 344.97°)
OKLaboklab(43.48% 0.1565 -0.0365)
OKLCHoklch(43.48% 0.161 346.9)
XYZxyz(13.0784, 7.0705, 12.2289)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B62 #1B8A43
analogous
#7B1B8A #8A1B62 #8A1B2A
triadic
#8A1B62 #628A1B #1B628A
tetradic
#8A1B62 #8A7B1B #1B8A43 #1B2A8A
square
#8A1B62 #8A7B1B #1B8A43 #1B2A8A
split-complementary
#8A1B62 #2A8A1B #1B8A7B
monochromatic
#240719 #57113E #8A1B62 #BD2586 #DB45A5

Accessibility & contrast

On white

8.70
#8A1B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A1B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B62
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B62#FFFFFF#000000##FFFFFF
##8A1B621.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1b62;
/* rgb */ color: rgb(138, 27, 98);
/* oklch */ color: oklch(43.5% 0.161 346.9);
Tailwind
colors: {
  custom: {
    50: '#b0658e',
    500: '#8a1b62',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b62;
$custom-light: #b0658e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b62",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 321.622,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.1607,
    "h": 346.9
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#8A1B62
secondary
#45BC70
accent
#EA7C3E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1B62

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

Preview Lab → · Contrast checker → · Palette generator →

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