#8A1574#8A1574

#8A1574 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 44.0% C 0.177 H 337.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#8A1574
RGBrgb(138, 21, 116)
HSLhsl(311, 74%, 31%)
HSVhsv(311, 85%, 54%)
CMYKcmyk(0%, 84.8%, 15.9%, 45.9%)
CIE-LABlab(32.26, 55.41, -24.86)
CIE-LCHlch(32.26, 60.73, 335.84°)
OKLaboklab(43.97% 0.1641 -0.0677)
OKLCHoklch(43.97% 0.177 337.6)
XYZxyz(13.9021, 7.2019, 17.1776)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1574 #158A2B
analogous
#65158A #8A1574 #8A1539
triadic
#8A1574 #748A15 #15748A
tetradic
#8A1574 #8A6515 #158A2B #15398A
square
#8A1574 #8A6515 #158A2B #15398A
split-complementary
#8A1574 #398A15 #158A65
monochromatic
#20051B #550D47 #8A1574 #BF1DA1 #E139C1

Accessibility & contrast

On white

8.61
#8A1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1574
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1574#FFFFFF#000000##FFFFFF
##8A15741.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#921E45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1574;
/* rgb */ color: rgb(138, 21, 116);
/* oklch */ color: oklch(44.0% 0.177 337.6);
Tailwind
colors: {
  custom: {
    50: '#b0649c',
    500: '#8a1574',
    950: '#000000',
  },
}
SCSS
$custom: #8a1574;
$custom-light: #b0649c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1574",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 311.282,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43975,
    "c": 0.17749,
    "h": 337.6
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#8A1574
secondary
#3DBE55
accent
#F05A38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1574

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

Preview Lab → · Contrast checker → · Palette generator →

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