#8A1F56#8A1F56

#8A1F56 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.150 H 354.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8A1F56
RGBrgb(138, 31, 86)
HSLhsl(329, 63%, 33%)
HSVhsv(329, 78%, 54%)
CMYKcmyk(0%, 77.5%, 37.7%, 45.9%)
CIE-LABlab(31.94, 48.68, -6.05)
CIE-LCHlch(31.94, 49.05, 352.91°)
OKLaboklab(43.31% 0.1494 -0.0154)
OKLCHoklch(43.31% 0.15 354.1)
XYZxyz(12.6518, 7.0567, 9.4981)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F56 #1F8A53
analogous
#881F8A #8A1F56 #8A1F20
triadic
#8A1F56 #568A1F #1F568A
tetradic
#8A1F56 #8A881F #1F8A53 #1F208A
square
#8A1F56 #8A881F #1F8A53 #1F208A
split-complementary
#8A1F56 #208A1F #1F8A88
monochromatic
#260918 #581437 #8A1F56 #BC2A75 #D74C94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1F56#FFFFFF#000000##FFFFFF
##8A1F561.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)
#343F57
Deuteranopia (green-blind)
#525254
Tritanopia (blue-blind)
#951338
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1f56;
/* rgb */ color: rgb(138, 31, 86);
/* oklch */ color: oklch(43.3% 0.150 354.1);
Tailwind
colors: {
  custom: {
    50: '#b16685',
    500: '#8a1f56',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f56;
$custom-light: #b16685;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f56",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 329.159,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.15021,
    "h": 354.1
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#8A1F56
secondary
#4BBA81
accent
#E69241
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1F56

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

Preview Lab → · Contrast checker → · Palette generator →

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