#8A1B5E#8A1B5E

#8A1B5E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.158 H 349.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#8A1B5E
RGBrgb(138, 27, 94)
HSLhsl(324, 67%, 32%)
HSVhsv(324, 80%, 54%)
CMYKcmyk(0%, 80.4%, 31.9%, 45.9%)
CIE-LABlab(31.80, 50.88, -11.46)
CIE-LCHlch(31.80, 52.16, 347.31°)
OKLaboklab(43.31% 0.1556 -0.03)
OKLCHoklch(43.31% 0.158 349.1)
XYZxyz(12.8943, 6.9968, 11.2590)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B5E #1B8A47
analogous
#7F1B8A #8A1B5E #8A1B26
triadic
#8A1B5E #5E8A1B #1B5E8A
tetradic
#8A1B5E #8A7F1B #1B8A47 #1B268A
square
#8A1B5E #8A7F1B #1B8A47 #1B268A
split-complementary
#8A1B5E #268A1B #1B8A7F
monochromatic
#240718 #57113B #8A1B5E #BD2581 #DB459F

Accessibility & contrast

On white

8.75
#8A1B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B5E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B5E#FFFFFF#000000##FFFFFF
##8A1B5E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E60
Deuteranopia (green-blind)
#4F525C
Tritanopia (blue-blind)
#94143A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1b5e;
/* rgb */ color: rgb(138, 27, 94);
/* oklch */ color: oklch(43.3% 0.158 349.1);
Tailwind
colors: {
  custom: {
    50: '#b0658b',
    500: '#8a1b5e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b5e;
$custom-light: #b0658b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b5e",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 323.784,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.15846,
    "h": 349.1
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#8A1B5E
secondary
#45BC74
accent
#EA823E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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