#8A1B52#8A1B52

#8A1B52 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.153 H 356.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#8A1B52
RGBrgb(138, 27, 82)
HSLhsl(330, 67%, 32%)
HSVhsv(330, 80%, 54%)
CMYKcmyk(0%, 80.4%, 40.6%, 45.9%)
CIE-LABlab(31.34, 49.51, -4.32)
CIE-LCHlch(31.34, 49.70, 355.01°)
OKLaboklab(42.83% 0.1523 -0.0107)
OKLCHoklch(42.83% 0.153 356)
XYZxyz(12.3970, 6.7979, 8.6403)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B52 #1B8A53
analogous
#8A1B8A #8A1B52 #8A1B1B
triadic
#8A1B52 #528A1B #1B528A
tetradic
#8A1B52 #8A8A1B #1B8A53 #1B1B8A
square
#8A1B52 #8A8A1B #1B8A53 #1B1B8A
split-complementary
#8A1B52 #1B8A1B #1B8A8A
monochromatic
#240715 #571134 #8A1B52 #BD2570 #DB458F

Accessibility & contrast

On white

8.90
#8A1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B52
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B52#FFFFFF#000000##FFFFFF
##8A1B521.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#525150
Tritanopia (blue-blind)
#960934
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1b52;
/* rgb */ color: rgb(138, 27, 82);
/* oklch */ color: oklch(42.8% 0.153 356.0);
Tailwind
colors: {
  custom: {
    50: '#b16482',
    500: '#8a1b52',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b52;
$custom-light: #b16482;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b52",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 330.27,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.15263,
    "h": 356
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#8A1B52
secondary
#45BC81
accent
#EA953E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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