#8A2D4E#8A2D4E

#8A2D4E is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.130 H 2.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A2D4E
RGBrgb(138, 45, 78)
HSLhsl(339, 51%, 36%)
HSVhsv(339, 67%, 54%)
CMYKcmyk(0%, 67.4%, 43.5%, 45.9%)
CIE-LABlab(33.63, 42.34, 1.65)
CIE-LCHlch(33.63, 42.37, 2.23°)
OKLaboklab(44.47% 0.1294 0.0048)
OKLCHoklch(44.47% 0.13 2.1)
XYZxyz(12.7957, 7.8316, 8.0441)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D4E #2D8A69
analogous
#8A2D7C #8A2D4E #8A3A2D
triadic
#8A2D4E #4E8A2D #2D4E8A
tetradic
#8A2D4E #7C8A2D #2D8A69 #3A2D8A
square
#8A2D4E #7C8A2D #2D8A69 #3A2D8A
split-complementary
#8A2D4E #2D8A3A #2D7C8A
monochromatic
#2E0F1A #5C1E34 #8A2D4E #B83C68 #CD658A

Accessibility & contrast

On white

8.18
#8A2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2D4E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D4E#FFFFFF#000000##FFFFFF
##8A2D4E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#58564C
Tritanopia (blue-blind)
#96223A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2d4e;
/* rgb */ color: rgb(138, 45, 78);
/* oklch */ color: oklch(44.5% 0.130 2.1);
Tailwind
colors: {
  custom: {
    50: '#b06c7f',
    500: '#8a2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d4e;
$custom-light: #b06c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d4e",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 338.71,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44467,
    "c": 0.12952,
    "h": 2.1
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#8A2D4E
secondary
#60B396
accent
#DAA84D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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