#8A2E4C#8A2E4C

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

Color values

HEX#8A2E4C
RGBrgb(138, 46, 76)
HSLhsl(340, 50%, 36%)
HSVhsv(340, 67%, 54%)
CMYKcmyk(0%, 66.7%, 44.9%, 45.9%)
CIE-LABlab(33.73, 41.68, 3.09)
CIE-LCHlch(33.73, 41.79, 4.25°)
OKLaboklab(44.53% 0.1273 0.0084)
OKLCHoklch(44.53% 0.128 3.8)
XYZxyz(12.7637, 7.8806, 7.6850)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E4C #2E8A6C
analogous
#8A2E7A #8A2E4C #8A3E2E
triadic
#8A2E4C #4C8A2E #2E4C8A
tetradic
#8A2E4C #7A8A2E #2E8A6C #3E2E8A
square
#8A2E4C #7A8A2E #2E8A6C #3E2E8A
split-complementary
#8A2E4C #2E8A3E #2E7A8A
monochromatic
#2E0F19 #5C1F33 #8A2E4C #B83D65 #CC6687

Accessibility & contrast

On white

8.15
#8A2E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E4C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E4C#FFFFFF#000000##FFFFFF
##8A2E4C1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444D
Deuteranopia (green-blind)
#59564A
Tritanopia (blue-blind)
#96223A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2e4c;
/* rgb */ color: rgb(138, 46, 76);
/* oklch */ color: oklch(44.5% 0.128 3.8);
Tailwind
colors: {
  custom: {
    50: '#b06d7d',
    500: '#8a2e4c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e4c;
$custom-light: #b06d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e4c",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 340.435,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.12755,
    "h": 3.8
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#8A2E4C
secondary
#61B398
accent
#DAAC4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A2E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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