#8A1F61#8A1F61

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

Color values

HEX#8A1F61
RGBrgb(138, 31, 97)
HSLhsl(323, 63%, 33%)
HSVhsv(323, 78%, 54%)
CMYKcmyk(0%, 77.5%, 29.7%, 45.9%)
CIE-LABlab(32.36, 50.00, -12.54)
CIE-LCHlch(32.36, 51.55, 345.92°)
OKLaboklab(43.76% 0.1524 -0.033)
OKLCHoklch(43.76% 0.156 347.8)
XYZxyz(13.1295, 7.2478, 12.0145)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F61 #1F8A48
analogous
#7D1F8A #8A1F61 #8A1F2B
triadic
#8A1F61 #618A1F #1F618A
tetradic
#8A1F61 #8A7D1F #1F8A48 #1F2B8A
square
#8A1F61 #8A7D1F #1F8A48 #1F2B8A
split-complementary
#8A1F61 #2B8A1F #1F8A7D
monochromatic
#26091B #58143E #8A1F61 #BC2A84 #D74CA2

Accessibility & contrast

On white

8.57
#8A1F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F61
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F61#FFFFFF#000000##FFFFFF
##8A1F611.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4063
Deuteranopia (green-blind)
#4F535F
Tritanopia (blue-blind)
#941A3D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1f61;
/* rgb */ color: rgb(138, 31, 97);
/* oklch */ color: oklch(43.8% 0.156 347.8);
Tailwind
colors: {
  custom: {
    50: '#b0668e',
    500: '#8a1f61',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f61;
$custom-light: #b0668e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f61",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 97
  },
  "hsl": {
    "h": 322.991,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4376,
    "c": 0.15591,
    "h": 347.8
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#8A1F61
secondary
#4BBA75
accent
#E68141
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1F61

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

Preview Lab → · Contrast checker → · Palette generator →

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