#8A1E75#8A1E75

#8A1E75 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.170 H 337.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A1E75
RGBrgb(138, 30, 117)
HSLhsl(312, 64%, 33%)
HSVhsv(312, 78%, 54%)
CMYKcmyk(0%, 78.3%, 15.2%, 45.9%)
CIE-LABlab(33.17, 53.09, -24.06)
CIE-LCHlch(33.17, 58.29, 335.62°)
OKLaboklab(44.65% 0.1567 -0.0655)
OKLCHoklch(44.65% 0.17 337.3)
XYZxyz(14.1567, 7.6175, 17.5509)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E75 #1E8A33
analogous
#691E8A #8A1E75 #8A1E3F
triadic
#8A1E75 #758A1E #1E758A
tetradic
#8A1E75 #8A691E #1E8A33 #1E3F8A
square
#8A1E75 #8A691E #1E8A33 #1E3F8A
split-complementary
#8A1E75 #3F8A1E #1E8A69
monochromatic
#250820 #58134A #8A1E75 #BC29A0 #D84BBC

Accessibility & contrast

On white

8.32
#8A1E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A1E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E75
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E75#FFFFFF#000000##FFFFFF
##8A1E751.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224377
Deuteranopia (green-blind)
#485473
Tritanopia (blue-blind)
#922548
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1e75;
/* rgb */ color: rgb(138, 30, 117);
/* oklch */ color: oklch(44.6% 0.170 337.3);
Tailwind
colors: {
  custom: {
    50: '#b0679d',
    500: '#8a1e75',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e75;
$custom-light: #b0679d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e75",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 311.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44646,
    "c": 0.16985,
    "h": 337.3
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#8A1E75
secondary
#4ABA5F
accent
#E76141
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1E75

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

Preview Lab → · Contrast checker → · Palette generator →

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