#8A2D54#8A2D54

#8A2D54 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.132 H 358.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8A2D54
RGBrgb(138, 45, 84)
HSLhsl(335, 51%, 36%)
HSVhsv(335, 67%, 54%)
CMYKcmyk(0%, 67.4%, 39.1%, 45.9%)
CIE-LABlab(33.82, 43.01, -1.96)
CIE-LCHlch(33.82, 43.06, 357.39°)
OKLaboklab(44.67% 0.1316 -0.0046)
OKLCHoklch(44.67% 0.132 358)
XYZxyz(13.0207, 7.9216, 9.2291)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D54 #2D8A63
analogous
#8A2D82 #8A2D54 #8A342D
triadic
#8A2D54 #548A2D #2D548A
tetradic
#8A2D54 #828A2D #2D8A63 #342D8A
square
#8A2D54 #828A2D #2D8A63 #342D8A
split-complementary
#8A2D54 #2D8A34 #2D828A
monochromatic
#2E0F1C #5C1E38 #8A2D54 #B83C70 #CD6590

Accessibility & contrast

On white

8.13
#8A2D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A2D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D54
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D54#FFFFFF#000000##FFFFFF
##8A2D541.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4455
Deuteranopia (green-blind)
#575652
Tritanopia (blue-blind)
#95243D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2d54;
/* rgb */ color: rgb(138, 45, 84);
/* oklch */ color: oklch(44.7% 0.132 358.0);
Tailwind
colors: {
  custom: {
    50: '#b06c84',
    500: '#8a2d54',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d54;
$custom-light: #b06c84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d54",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 334.839,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4467,
    "c": 0.13167,
    "h": 358
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#8A2D54
secondary
#60B390
accent
#DA9F4D
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2D54

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

Preview Lab → · Contrast checker → · Palette generator →

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