#8A1F64#8A1F64

#8A1F64 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.158 H 346.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8A1F64
RGBrgb(138, 31, 100)
HSLhsl(321, 63%, 33%)
HSVhsv(321, 78%, 54%)
CMYKcmyk(0%, 77.5%, 27.5%, 45.9%)
CIE-LABlab(32.49, 50.39, -14.28)
CIE-LCHlch(32.49, 52.37, 344.18°)
OKLaboklab(43.89% 0.1531 -0.0379)
OKLCHoklch(43.89% 0.158 346.1)
XYZxyz(13.2721, 7.3048, 12.7651)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F64 #1F8A45
analogous
#7A1F8A #8A1F64 #8A1F2F
triadic
#8A1F64 #648A1F #1F648A
tetradic
#8A1F64 #8A7A1F #1F8A45 #1F2F8A
square
#8A1F64 #8A7A1F #1F8A45 #1F2F8A
split-complementary
#8A1F64 #2F8A1F #1F8A7A
monochromatic
#26091C #581440 #8A1F64 #BC2A88 #D74CA6

Accessibility & contrast

On white

8.53
#8A1F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F64
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F64#FFFFFF#000000##FFFFFF
##8A1F641.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4166
Deuteranopia (green-blind)
#4E5362
Tritanopia (blue-blind)
#941C3F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1f64;
/* rgb */ color: rgb(138, 31, 100);
/* oklch */ color: oklch(43.9% 0.158 346.1);
Tailwind
colors: {
  custom: {
    50: '#b06690',
    500: '#8a1f64',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f64;
$custom-light: #b06690;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f64",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 321.308,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43893,
    "c": 0.15766,
    "h": 346.1
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#8A1F64
secondary
#4BBA72
accent
#E67C41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1F64

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

Preview Lab → · Contrast checker → · Palette generator →

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