#8A2E4A#8A2E4A

#8A2E4A is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.5% C 0.127 H 5.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8A2E4A
RGBrgb(138, 46, 74)
HSLhsl(342, 50%, 36%)
HSVhsv(342, 67%, 54%)
CMYKcmyk(0%, 66.7%, 46.4%, 45.9%)
CIE-LABlab(33.68, 41.47, 4.31)
CIE-LCHlch(33.68, 41.69, 5.93°)
OKLaboklab(44.46% 0.1265 0.0115)
OKLCHoklch(44.46% 0.127 5.2)
XYZxyz(12.6952, 7.8532, 7.3245)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E4A #2E8A6E
analogous
#8A2E78 #8A2E4A #8A402E
triadic
#8A2E4A #4A8A2E #2E4A8A
tetradic
#8A2E4A #788A2E #2E8A6E #402E8A
square
#8A2E4A #788A2E #2E8A6E #402E8A
split-complementary
#8A2E4A #2E8A40 #2E788A
monochromatic
#2E0F19 #5C1F31 #8A2E4A #B83D63 #CC6685

Accessibility & contrast

On white

8.17
#8A2E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E4A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E4A#FFFFFF#000000##FFFFFF
##8A2E4A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444B
Deuteranopia (green-blind)
#5A5648
Tritanopia (blue-blind)
#962239
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2e4a;
/* rgb */ color: rgb(138, 46, 74);
/* oklch */ color: oklch(44.5% 0.127 5.2);
Tailwind
colors: {
  custom: {
    50: '#b06d7c',
    500: '#8a2e4a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e4a;
$custom-light: #b06d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e4a",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 341.739,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44463,
    "c": 0.12701,
    "h": 5.2
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#8A2E4A
secondary
#61B39A
accent
#DAAF4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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