#8A1F58#8A1F58

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

Color values

HEX#8A1F58
RGBrgb(138, 31, 88)
HSLhsl(328, 63%, 33%)
HSVhsv(328, 78%, 54%)
CMYKcmyk(0%, 77.5%, 36.2%, 45.9%)
CIE-LABlab(32.01, 48.91, -7.24)
CIE-LCHlch(32.01, 49.44, 351.57°)
OKLaboklab(43.38% 0.15 -0.0186)
OKLCHoklch(43.38% 0.151 352.9)
XYZxyz(12.7335, 7.0894, 9.9285)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F58 #1F8A51
analogous
#861F8A #8A1F58 #8A1F23
triadic
#8A1F58 #588A1F #1F588A
tetradic
#8A1F58 #8A861F #1F8A51 #1F238A
square
#8A1F58 #8A861F #1F8A51 #1F238A
split-complementary
#8A1F58 #238A1F #1F8A86
monochromatic
#260918 #581438 #8A1F58 #BC2A78 #D74C96

Accessibility & contrast

On white

8.69
#8A1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F58
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F58#FFFFFF#000000##FFFFFF
##8A1F581.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F59
Deuteranopia (green-blind)
#515256
Tritanopia (blue-blind)
#951439
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1f58;
/* rgb */ color: rgb(138, 31, 88);
/* oklch */ color: oklch(43.4% 0.151 352.9);
Tailwind
colors: {
  custom: {
    50: '#b06687',
    500: '#8a1f58',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f58;
$custom-light: #b06687;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f58",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 328.037,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43384,
    "c": 0.15116,
    "h": 352.9
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#8A1F58
secondary
#4BBA7F
accent
#E68F41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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