#8A2D5C#8A2D5C

#8A2D5C is a dark, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.135 H 352.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8A2D5C
RGBrgb(138, 45, 92)
HSLhsl(330, 51%, 36%)
HSVhsv(330, 67%, 54%)
CMYKcmyk(0%, 67.4%, 33.3%, 45.9%)
CIE-LABlab(34.10, 43.99, -6.70)
CIE-LCHlch(34.10, 44.50, 351.33°)
OKLaboklab(44.97% 0.1342 -0.0172)
OKLCHoklch(44.97% 0.135 352.7)
XYZxyz(13.3521, 8.0542, 10.9746)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D5C #2D8A5B
analogous
#892D8A #8A2D5C #8A2D2D
triadic
#8A2D5C #5C8A2D #2D5C8A
tetradic
#8A2D5C #8A892D #2D8A5B #2D2D8A
square
#8A2D5C #8A892D #2D8A5B #2D2D8A
split-complementary
#8A2D5C #2D8A2D #2D8A89
monochromatic
#2E0F1E #5C1E3D #8A2D5C #B83C7B #CD6599

Accessibility & contrast

On white

8.04
#8A2D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D5C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D5C#FFFFFF#000000##FFFFFF
##8A2D5C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455D
Deuteranopia (green-blind)
#55565A
Tritanopia (blue-blind)
#942740
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2d5c;
/* rgb */ color: rgb(138, 45, 92);
/* oklch */ color: oklch(45.0% 0.135 352.7);
Tailwind
colors: {
  custom: {
    50: '#b06c8a',
    500: '#8a2d5c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d5c;
$custom-light: #b06c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d5c",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 329.677,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.13532,
    "h": 352.7
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#8A2D5C
secondary
#60B389
accent
#DA934D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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