#8A2D4B#8A2D4B

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

Color values

HEX#8A2D4B
RGBrgb(138, 45, 75)
HSLhsl(341, 51%, 36%)
HSVhsv(341, 67%, 54%)
CMYKcmyk(0%, 67.4%, 45.7%, 45.9%)
CIE-LABlab(33.54, 42.02, 3.47)
CIE-LCHlch(33.54, 42.16, 4.72°)
OKLaboklab(44.37% 0.1283 0.0094)
OKLCHoklch(44.37% 0.129 4.2)
XYZxyz(12.6905, 7.7896, 7.4905)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D4B #2D8A6C
analogous
#8A2D79 #8A2D4B #8A3D2D
triadic
#8A2D4B #4B8A2D #2D4B8A
tetradic
#8A2D4B #798A2D #2D8A6C #3D2D8A
square
#8A2D4B #798A2D #2D8A6C #3D2D8A
split-complementary
#8A2D4B #2D8A3D #2D798A
monochromatic
#2E0F19 #5C1E32 #8A2D4B #B83C64 #CD6586

Accessibility & contrast

On white

8.21
#8A2D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2D4B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D4B#FFFFFF#000000##FFFFFF
##8A2D4B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434C
Deuteranopia (green-blind)
#595649
Tritanopia (blue-blind)
#962139
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2d4b;
/* rgb */ color: rgb(138, 45, 75);
/* oklch */ color: oklch(44.4% 0.129 4.2);
Tailwind
colors: {
  custom: {
    50: '#b06c7d',
    500: '#8a2d4b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d4b;
$custom-light: #b06c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d4b",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 340.645,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44372,
    "c": 0.12863,
    "h": 4.2
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#8A2D4B
secondary
#60B398
accent
#DAAD4D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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