#8A2D5E#8A2D5E

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

Color values

HEX#8A2D5E
RGBrgb(138, 45, 94)
HSLhsl(328, 51%, 36%)
HSVhsv(328, 67%, 54%)
CMYKcmyk(0%, 67.4%, 31.9%, 45.9%)
CIE-LABlab(34.17, 44.25, -7.88)
CIE-LCHlch(34.17, 44.95, 349.90°)
OKLaboklab(45.04% 0.1348 -0.0204)
OKLCHoklch(45.04% 0.136 351.4)
XYZxyz(13.4407, 8.0896, 11.4411)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D5E #2D8A59
analogous
#872D8A #8A2D5E #8A2D2F
triadic
#8A2D5E #5E8A2D #2D5E8A
tetradic
#8A2D5E #8A872D #2D8A59 #2D2F8A
square
#8A2D5E #8A872D #2D8A59 #2D2F8A
split-complementary
#8A2D5E #2F8A2D #2D8A87
monochromatic
#2E0F1F #5C1E3F #8A2D5E #B83C7D #CD659B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2D5E#FFFFFF#000000##FFFFFF
##8A2D5E1.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)
#3B465F
Deuteranopia (green-blind)
#55565C
Tritanopia (blue-blind)
#942841
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2d5e;
/* rgb */ color: rgb(138, 45, 94);
/* oklch */ color: oklch(45.0% 0.136 351.4);
Tailwind
colors: {
  custom: {
    50: '#b06d8b',
    500: '#8a2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d5e;
$custom-light: #b06d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d5e",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 328.387,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45043,
    "c": 0.13636,
    "h": 351.4
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#8A2D5E
secondary
#60B387
accent
#DA904D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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