#8A2D51#8A2D51

#8A2D51 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.6% C 0.131 H 0.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8A2D51
RGBrgb(138, 45, 81)
HSLhsl(337, 51%, 36%)
HSVhsv(337, 67%, 54%)
CMYKcmyk(0%, 67.4%, 41.3%, 45.9%)
CIE-LABlab(33.72, 42.67, -0.16)
CIE-LCHlch(33.72, 42.67, 359.78°)
OKLaboklab(44.57% 0.1305 0.0001)
OKLCHoklch(44.57% 0.131 0)
XYZxyz(12.9057, 7.8756, 8.6235)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D51 #2D8A66
analogous
#8A2D7F #8A2D51 #8A372D
triadic
#8A2D51 #518A2D #2D518A
tetradic
#8A2D51 #7F8A2D #2D8A66 #372D8A
square
#8A2D51 #7F8A2D #2D8A66 #372D8A
split-complementary
#8A2D51 #2D8A37 #2D7F8A
monochromatic
#2E0F1B #5C1E36 #8A2D51 #B83C6C #CD658D

Accessibility & contrast

On white

8.16
#8A2D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D51
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D51#FFFFFF#000000##FFFFFF
##8A2D511.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4452
Deuteranopia (green-blind)
#58564F
Tritanopia (blue-blind)
#95233B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2d51;
/* rgb */ color: rgb(138, 45, 81);
/* oklch */ color: oklch(44.6% 0.131 0.0);
Tailwind
colors: {
  custom: {
    50: '#b06c81',
    500: '#8a2d51',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d51;
$custom-light: #b06c81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d51",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 336.774,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44567,
    "c": 0.13053,
    "h": 0
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#8A2D51
secondary
#60B393
accent
#DAA44D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2D51

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

Preview Lab → · Contrast checker → · Palette generator →

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