#8A2F5A#8A2F5A

#8A2F5A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.1% C 0.131 H 354.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8A2F5A
RGBrgb(138, 47, 90)
HSLhsl(332, 49%, 36%)
HSVhsv(332, 66%, 54%)
CMYKcmyk(0%, 65.9%, 34.8%, 45.9%)
CIE-LABlab(34.35, 42.86, -5.04)
CIE-LCHlch(34.35, 43.15, 353.29°)
OKLaboklab(45.13% 0.1308 -0.0128)
OKLCHoklch(45.13% 0.131 354.4)
XYZxyz(13.3439, 8.1760, 10.5463)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F5A #2F8A5F
analogous
#8A2F88 #8A2F5A #8A322F
triadic
#8A2F5A #5A8A2F #2F5A8A
tetradic
#8A2F5A #888A2F #2F8A5F #322F8A
square
#8A2F5A #888A2F #2F8A5F #322F8A
split-complementary
#8A2F5A #2F8A32 #2F888A
monochromatic
#2F101E #5C1F3C #8A2F5A #B83F78 #CC6897

Accessibility & contrast

On white

7.97
#8A2F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F5A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F5A#FFFFFF#000000##FFFFFF
##8A2F5A1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E465B
Deuteranopia (green-blind)
#575758
Tritanopia (blue-blind)
#952840
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2f5a;
/* rgb */ color: rgb(138, 47, 90);
/* oklch */ color: oklch(45.1% 0.131 354.4);
Tailwind
colors: {
  custom: {
    50: '#b06d88',
    500: '#8a2f5a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f5a;
$custom-light: #b06d88;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f5a",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 331.648,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45127,
    "c": 0.13145,
    "h": 354.4
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#8A2F5A
secondary
#62B38D
accent
#D9984F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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