#8A2C4E#8A2C4E

#8A2C4E is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.3% C 0.131 H 1.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A2C4E
RGBrgb(138, 44, 78)
HSLhsl(338, 52%, 36%)
HSVhsv(338, 68%, 54%)
CMYKcmyk(0%, 68.1%, 43.5%, 45.9%)
CIE-LABlab(33.47, 42.77, 1.42)
CIE-LCHlch(33.47, 42.80, 1.90°)
OKLaboklab(44.35% 0.1308 0.0042)
OKLCHoklch(44.35% 0.131 1.8)
XYZxyz(12.7580, 7.7562, 8.0315)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C4E #2C8A68
analogous
#8A2C7D #8A2C4E #8A392C
triadic
#8A2C4E #4E8A2C #2C4E8A
tetradic
#8A2C4E #7D8A2C #2C8A68 #392C8A
square
#8A2C4E #7D8A2C #2C8A68 #392C8A
split-complementary
#8A2C4E #2C8A39 #2C7D8A
monochromatic
#2D0E1A #5C1D34 #8A2C4E #B83B68 #CD638A

Accessibility & contrast

On white

8.23
#8A2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C4E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C4E#FFFFFF#000000##FFFFFF
##8A2C4E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434F
Deuteranopia (green-blind)
#58554C
Tritanopia (blue-blind)
#96203A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2c4e;
/* rgb */ color: rgb(138, 44, 78);
/* oklch */ color: oklch(44.3% 0.131 1.8);
Tailwind
colors: {
  custom: {
    50: '#b06c7f',
    500: '#8a2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c4e;
$custom-light: #b06c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c4e",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 338.298,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.13088,
    "h": 1.8
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#8A2C4E
secondary
#5EB495
accent
#DBA84D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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