#8A1F59#8A1F59

#8A1F59 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.152 H 352.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8A1F59
RGBrgb(138, 31, 89)
HSLhsl(327, 63%, 33%)
HSVhsv(327, 78%, 54%)
CMYKcmyk(0%, 77.5%, 35.5%, 45.9%)
CIE-LABlab(32.05, 49.02, -7.84)
CIE-LCHlch(32.05, 49.64, 350.92°)
OKLaboklab(43.42% 0.1503 -0.0202)
OKLCHoklch(43.42% 0.152 352.3)
XYZxyz(12.7752, 7.1061, 10.1481)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F59 #1F8A50
analogous
#851F8A #8A1F59 #8A1F23
triadic
#8A1F59 #598A1F #1F598A
tetradic
#8A1F59 #8A851F #1F8A50 #1F238A
square
#8A1F59 #8A851F #1F8A50 #1F238A
split-complementary
#8A1F59 #238A1F #1F8A85
monochromatic
#260919 #581439 #8A1F59 #BC2A79 #D74C98

Accessibility & contrast

On white

8.67
#8A1F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A1F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F59
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F59#FFFFFF#000000##FFFFFF
##8A1F591.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F5B
Deuteranopia (green-blind)
#515257
Tritanopia (blue-blind)
#951539
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1f59;
/* rgb */ color: rgb(138, 31, 89);
/* oklch */ color: oklch(43.4% 0.152 352.3);
Tailwind
colors: {
  custom: {
    50: '#b06687',
    500: '#8a1f59',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f59;
$custom-light: #b06687;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f59",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 327.477,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43424,
    "c": 0.15165,
    "h": 352.3
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#8A1F59
secondary
#4BBA7E
accent
#E68D41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1F59

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

Preview Lab → · Contrast checker → · Palette generator →

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