#8A1F73#8A1F73

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

Color values

HEX#8A1F73
RGBrgb(138, 31, 115)
HSLhsl(313, 63%, 33%)
HSVhsv(313, 78%, 54%)
CMYKcmyk(0%, 77.5%, 16.7%, 45.9%)
CIE-LABlab(33.18, 52.47, -22.78)
CIE-LCHlch(33.18, 57.21, 336.53°)
OKLaboklab(44.62% 0.1556 -0.0618)
OKLCHoklch(44.62% 0.167 338.3)
XYZxyz(14.0661, 7.6224, 16.9468)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F73 #1F8A36
analogous
#6B1F8A #8A1F73 #8A1F3D
triadic
#8A1F73 #738A1F #1F738A
tetradic
#8A1F73 #8A6B1F #1F8A36 #1F3D8A
square
#8A1F73 #8A6B1F #1F8A36 #1F3D8A
split-complementary
#8A1F73 #3D8A1F #1F8A6B
monochromatic
#260920 #581449 #8A1F73 #BC2A9D #D74CB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1F73#FFFFFF#000000##FFFFFF
##8A1F731.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)
#244375
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#922547
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1f73;
/* rgb */ color: rgb(138, 31, 115);
/* oklch */ color: oklch(44.6% 0.167 338.3);
Tailwind
colors: {
  custom: {
    50: '#b0679b',
    500: '#8a1f73',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f73;
$custom-light: #b0679b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f73",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 312.897,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.16739,
    "h": 338.3
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#8A1F73
secondary
#4BBA63
accent
#E66541
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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