#8A1F67#8A1F67

#8A1F67 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.159 H 344.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8A1F67
RGBrgb(138, 31, 103)
HSLhsl(320, 63%, 33%)
HSVhsv(320, 78%, 54%)
CMYKcmyk(0%, 77.5%, 25.4%, 45.9%)
CIE-LABlab(32.62, 50.78, -16.01)
CIE-LCHlch(32.62, 53.25, 342.51°)
OKLaboklab(44.03% 0.1537 -0.0427)
OKLCHoklch(44.03% 0.159 344.5)
XYZxyz(13.4200, 7.3640, 13.5440)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F67 #1F8A42
analogous
#771F8A #8A1F67 #8A1F31
triadic
#8A1F67 #678A1F #1F678A
tetradic
#8A1F67 #8A771F #1F8A42 #1F318A
square
#8A1F67 #8A771F #1F8A42 #1F318A
split-complementary
#8A1F67 #318A1F #1F8A77
monochromatic
#26091C #581442 #8A1F67 #BC2A8C #D74CAA

Accessibility & contrast

On white

8.49
#8A1F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8A1F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F67
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F67#FFFFFF#000000##FFFFFF
##8A1F671.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4169
Deuteranopia (green-blind)
#4D5365
Tritanopia (blue-blind)
#931E40
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1f67;
/* rgb */ color: rgb(138, 31, 103);
/* oklch */ color: oklch(44.0% 0.159 344.5);
Tailwind
colors: {
  custom: {
    50: '#b06692',
    500: '#8a1f67',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f67;
$custom-light: #b06692;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f67",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 319.626,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4403,
    "c": 0.15948,
    "h": 344.5
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#8A1F67
secondary
#4BBA6F
accent
#E67741
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1F67

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

Preview Lab → · Contrast checker → · Palette generator →

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