#8A1F62#8A1F62

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

Color values

HEX#8A1F62
RGBrgb(138, 31, 98)
HSLhsl(322, 63%, 33%)
HSVhsv(322, 78%, 54%)
CMYKcmyk(0%, 77.5%, 29%, 45.9%)
CIE-LABlab(32.41, 50.13, -13.12)
CIE-LCHlch(32.41, 51.82, 345.33°)
OKLaboklab(43.8% 0.1526 -0.0346)
OKLCHoklch(43.8% 0.156 347.2)
XYZxyz(13.1765, 7.2666, 12.2616)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F62 #1F8A47
analogous
#7C1F8A #8A1F62 #8A1F2C
triadic
#8A1F62 #628A1F #1F628A
tetradic
#8A1F62 #8A7C1F #1F8A47 #1F2C8A
square
#8A1F62 #8A7C1F #1F8A47 #1F2C8A
split-complementary
#8A1F62 #2C8A1F #1F8A7C
monochromatic
#26091B #58143F #8A1F62 #BC2A85 #D74CA3

Accessibility & contrast

On white

8.56
#8A1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A1F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F62
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F62#FFFFFF#000000##FFFFFF
##8A1F621.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1f62;
/* rgb */ color: rgb(138, 31, 98);
/* oklch */ color: oklch(43.8% 0.156 347.2);
Tailwind
colors: {
  custom: {
    50: '#b0668e',
    500: '#8a1f62',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f62;
$custom-light: #b0668e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f62",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 322.43,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.15648,
    "h": 347.2
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#8A1F62
secondary
#4BBA74
accent
#E67F41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1F62

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

Preview Lab → · Contrast checker → · Palette generator →

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