#8A2E4D#8A2E4D

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

Color values

HEX#8A2E4D
RGBrgb(138, 46, 77)
HSLhsl(340, 50%, 36%)
HSVhsv(340, 67%, 54%)
CMYKcmyk(0%, 66.7%, 44.2%, 45.9%)
CIE-LABlab(33.76, 41.79, 2.49)
CIE-LCHlch(33.76, 41.86, 3.41°)
OKLaboklab(44.56% 0.1277 0.0069)
OKLCHoklch(44.56% 0.128 3.1)
XYZxyz(12.7987, 7.8946, 7.8696)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E4D #2E8A6B
analogous
#8A2E7B #8A2E4D #8A3D2E
triadic
#8A2E4D #4D8A2E #2E4D8A
tetradic
#8A2E4D #7B8A2E #2E8A6B #3D2E8A
square
#8A2E4D #7B8A2E #2E8A6B #3D2E8A
split-complementary
#8A2E4D #2E8A3D #2E7B8A
monochromatic
#2E0F1A #5C1F33 #8A2E4D #B83D67 #CC6689

Accessibility & contrast

On white

8.14
#8A2E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E4D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E4D#FFFFFF#000000##FFFFFF
##8A2E4D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444E
Deuteranopia (green-blind)
#59564B
Tritanopia (blue-blind)
#96233A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2e4d;
/* rgb */ color: rgb(138, 46, 77);
/* oklch */ color: oklch(44.6% 0.128 3.1);
Tailwind
colors: {
  custom: {
    50: '#b06d7e',
    500: '#8a2e4d',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e4d;
$custom-light: #b06d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e4d",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 77
  },
  "hsl": {
    "h": 339.783,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.12784,
    "h": 3.1
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#8A2E4D
secondary
#61B397
accent
#DAAB4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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