#8A1B61#8A1B61

#8A1B61 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.160 H 347.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8A1B61
RGBrgb(138, 27, 97)
HSLhsl(322, 67%, 32%)
HSVhsv(322, 80%, 54%)
CMYKcmyk(0%, 80.4%, 29.7%, 45.9%)
CIE-LABlab(31.92, 51.25, -13.21)
CIE-LCHlch(31.92, 52.93, 345.54°)
OKLaboklab(43.44% 0.1563 -0.0349)
OKLCHoklch(43.44% 0.16 347.4)
XYZxyz(13.0315, 7.0517, 11.9818)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B61 #1B8A44
analogous
#7C1B8A #8A1B61 #8A1B2A
triadic
#8A1B61 #618A1B #1B618A
tetradic
#8A1B61 #8A7C1B #1B8A44 #1B2A8A
square
#8A1B61 #8A7C1B #1B8A44 #1B2A8A
split-complementary
#8A1B61 #2A8A1B #1B8A7C
monochromatic
#240719 #57113D #8A1B61 #BD2585 #DB45A3

Accessibility & contrast

On white

8.71
#8A1B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B61
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B61#FFFFFF#000000##FFFFFF
##8A1B611.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F63
Deuteranopia (green-blind)
#4E525F
Tritanopia (blue-blind)
#94163C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1b61;
/* rgb */ color: rgb(138, 27, 97);
/* oklch */ color: oklch(43.4% 0.160 347.4);
Tailwind
colors: {
  custom: {
    50: '#b0658e',
    500: '#8a1b61',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b61;
$custom-light: #b0658e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b61",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 322.162,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.16012,
    "h": 347.4
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#8A1B61
secondary
#45BC71
accent
#EA7D3E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1B61

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

Preview Lab → · Contrast checker → · Palette generator →

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