#8A2D4C#8A2D4C

#8A2D4C is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.4% C 0.129 H 3.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8A2D4C
RGBrgb(138, 45, 76)
HSLhsl(340, 51%, 36%)
HSVhsv(340, 67%, 54%)
CMYKcmyk(0%, 67.4%, 44.9%, 45.9%)
CIE-LABlab(33.57, 42.12, 2.86)
CIE-LCHlch(33.57, 42.22, 3.88°)
OKLaboklab(44.4% 0.1287 0.0078)
OKLCHoklch(44.4% 0.129 3.5)
XYZxyz(12.7250, 7.8034, 7.6722)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D4C #2D8A6B
analogous
#8A2D7A #8A2D4C #8A3C2D
triadic
#8A2D4C #4C8A2D #2D4C8A
tetradic
#8A2D4C #7A8A2D #2D8A6B #3C2D8A
square
#8A2D4C #7A8A2D #2D8A6B #3C2D8A
split-complementary
#8A2D4C #2D8A3C #2D7A8A
monochromatic
#2E0F19 #5C1E33 #8A2D4C #B83C65 #CD6587

Accessibility & contrast

On white

8.20
#8A2D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D4C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D4C#FFFFFF#000000##FFFFFF
##8A2D4C1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434D
Deuteranopia (green-blind)
#59564A
Tritanopia (blue-blind)
#962139
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2d4c;
/* rgb */ color: rgb(138, 45, 76);
/* oklch */ color: oklch(44.4% 0.129 3.5);
Tailwind
colors: {
  custom: {
    50: '#b06c7d',
    500: '#8a2d4c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d4c;
$custom-light: #b06c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d4c",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 340,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.12891,
    "h": 3.5
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#8A2D4C
secondary
#60B397
accent
#DAAB4D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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