#8A1F63#8A1F63

#8A1F63 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.157 H 346.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8A1F63
RGBrgb(138, 31, 99)
HSLhsl(322, 63%, 33%)
HSVhsv(322, 78%, 54%)
CMYKcmyk(0%, 77.5%, 28.3%, 45.9%)
CIE-LABlab(32.45, 50.26, -13.70)
CIE-LCHlch(32.45, 52.09, 344.75°)
OKLaboklab(43.85% 0.1528 -0.0363)
OKLCHoklch(43.85% 0.157 346.7)
XYZxyz(13.2240, 7.2856, 12.5118)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F63 #1F8A46
analogous
#7B1F8A #8A1F63 #8A1F2D
triadic
#8A1F63 #638A1F #1F638A
tetradic
#8A1F63 #8A7B1F #1F8A46 #1F2D8A
square
#8A1F63 #8A7B1F #1F8A46 #1F2D8A
split-complementary
#8A1F63 #2D8A1F #1F8A7B
monochromatic
#26091B #58143F #8A1F63 #BC2A87 #D74CA4

Accessibility & contrast

On white

8.55
#8A1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F63
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F63#FFFFFF#000000##FFFFFF
##8A1F631.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4165
Deuteranopia (green-blind)
#4E5361
Tritanopia (blue-blind)
#941B3E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1f63;
/* rgb */ color: rgb(138, 31, 99);
/* oklch */ color: oklch(43.8% 0.157 346.7);
Tailwind
colors: {
  custom: {
    50: '#b0668f',
    500: '#8a1f63',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f63;
$custom-light: #b0668f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f63",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 321.869,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43848,
    "c": 0.15707,
    "h": 346.7
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#8A1F63
secondary
#4BBA73
accent
#E67E41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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