#8A1F57#8A1F57

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

Color values

HEX#8A1F57
RGBrgb(138, 31, 87)
HSLhsl(329, 63%, 33%)
HSVhsv(329, 78%, 54%)
CMYKcmyk(0%, 77.5%, 37%, 45.9%)
CIE-LABlab(31.97, 48.79, -6.65)
CIE-LCHlch(31.97, 49.24, 352.24°)
OKLaboklab(43.35% 0.1497 -0.017)
OKLCHoklch(43.35% 0.151 353.5)
XYZxyz(12.6923, 7.0729, 9.7118)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F57 #1F8A52
analogous
#871F8A #8A1F57 #8A1F21
triadic
#8A1F57 #578A1F #1F578A
tetradic
#8A1F57 #8A871F #1F8A52 #1F218A
square
#8A1F57 #8A871F #1F8A52 #1F218A
split-complementary
#8A1F57 #218A1F #1F8A87
monochromatic
#260918 #581437 #8A1F57 #BC2A77 #D74C95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1F57#FFFFFF#000000##FFFFFF
##8A1F571.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)
#333F58
Deuteranopia (green-blind)
#525255
Tritanopia (blue-blind)
#951438
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1f57;
/* rgb */ color: rgb(138, 31, 87);
/* oklch */ color: oklch(43.3% 0.151 353.5);
Tailwind
colors: {
  custom: {
    50: '#b06686',
    500: '#8a1f57',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f57;
$custom-light: #b06686;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f57",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 328.598,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43345,
    "c": 0.15068,
    "h": 353.5
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#8A1F57
secondary
#4BBA80
accent
#E69041
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1F57

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

Preview Lab → · Contrast checker → · Palette generator →

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