#8A2E4E#8A2E4E

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

Color values

HEX#8A2E4E
RGBrgb(138, 46, 78)
HSLhsl(339, 50%, 36%)
HSVhsv(339, 67%, 54%)
CMYKcmyk(0%, 66.7%, 43.5%, 45.9%)
CIE-LABlab(33.79, 41.89, 1.88)
CIE-LCHlch(33.79, 41.94, 2.57°)
OKLaboklab(44.59% 0.128 0.0054)
OKLCHoklch(44.59% 0.128 2.4)
XYZxyz(12.8343, 7.9089, 8.0569)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E4E #2E8A6A
analogous
#8A2E7C #8A2E4E #8A3C2E
triadic
#8A2E4E #4E8A2E #2E4E8A
tetradic
#8A2E4E #7C8A2E #2E8A6A #3C2E8A
square
#8A2E4E #7C8A2E #2E8A6A #3C2E8A
split-complementary
#8A2E4E #2E8A3C #2E7C8A
monochromatic
#2E0F1A #5C1F34 #8A2E4E #B83D68 #CC668A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2E4E#FFFFFF#000000##FFFFFF
##8A2E4E1.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)
#40444F
Deuteranopia (green-blind)
#59564C
Tritanopia (blue-blind)
#96233B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2e4e;
/* rgb */ color: rgb(138, 46, 78);
/* oklch */ color: oklch(44.6% 0.128 2.4);
Tailwind
colors: {
  custom: {
    50: '#b06d7f',
    500: '#8a2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e4e;
$custom-light: #b06d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e4e",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 339.13,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44588,
    "c": 0.12813,
    "h": 2.4
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#8A2E4E
secondary
#61B396
accent
#DAA94E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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