#8A2E5A#8A2E5A

#8A2E5A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.133 H 354.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8A2E5A
RGBrgb(138, 46, 90)
HSLhsl(331, 50%, 36%)
HSVhsv(331, 67%, 54%)
CMYKcmyk(0%, 66.7%, 34.8%, 45.9%)
CIE-LABlab(34.18, 43.30, -5.29)
CIE-LCHlch(34.18, 43.62, 353.04°)
OKLaboklab(45.01% 0.1322 -0.0134)
OKLCHoklch(45.01% 0.133 354.2)
XYZxyz(13.3044, 8.0969, 10.5331)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E5A #2E8A5E
analogous
#8A2E88 #8A2E5A #8A302E
triadic
#8A2E5A #5A8A2E #2E5A8A
tetradic
#8A2E5A #888A2E #2E8A5E #302E8A
square
#8A2E5A #888A2E #2E8A5E #302E8A
split-complementary
#8A2E5A #2E8A30 #2E888A
monochromatic
#2E0F1E #5C1F3C #8A2E5A #B83D78 #CC6697

Accessibility & contrast

On white

8.02
#8A2E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E5A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E5A#FFFFFF#000000##FFFFFF
##8A2E5A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465B
Deuteranopia (green-blind)
#565758
Tritanopia (blue-blind)
#952740
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2e5a;
/* rgb */ color: rgb(138, 46, 90);
/* oklch */ color: oklch(45.0% 0.133 354.2);
Tailwind
colors: {
  custom: {
    50: '#b06d88',
    500: '#8a2e5a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e5a;
$custom-light: #b06d88;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e5a",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 331.304,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45007,
    "c": 0.1329,
    "h": 354.2
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#8A2E5A
secondary
#61B38C
accent
#DA974E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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