#8A2E51#8A2E51

#8A2E51 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.7% C 0.129 H 0.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8A2E51
RGBrgb(138, 46, 81)
HSLhsl(337, 50%, 36%)
HSVhsv(337, 67%, 54%)
CMYKcmyk(0%, 66.7%, 41.3%, 45.9%)
CIE-LABlab(33.88, 42.23, 0.08)
CIE-LCHlch(33.88, 42.23, 0.10°)
OKLaboklab(44.69% 0.1291 0.0007)
OKLCHoklch(44.69% 0.129 0.3)
XYZxyz(12.9443, 7.9529, 8.6364)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E51 #2E8A67
analogous
#8A2E7F #8A2E51 #8A392E
triadic
#8A2E51 #518A2E #2E518A
tetradic
#8A2E51 #7F8A2E #2E8A67 #392E8A
square
#8A2E51 #7F8A2E #2E8A67 #392E8A
split-complementary
#8A2E51 #2E8A39 #2E7F8A
monochromatic
#2E0F1B #5C1F36 #8A2E51 #B83D6C #CC668D

Accessibility & contrast

On white

8.11
#8A2E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A2E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E51
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E51#FFFFFF#000000##FFFFFF
##8A2E511.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404552
Deuteranopia (green-blind)
#58564F
Tritanopia (blue-blind)
#95243C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2e51;
/* rgb */ color: rgb(138, 46, 81);
/* oklch */ color: oklch(44.7% 0.129 0.3);
Tailwind
colors: {
  custom: {
    50: '#b06d81',
    500: '#8a2e51',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e51;
$custom-light: #b06d81;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e51",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 337.174,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44687,
    "c": 0.12913,
    "h": 0.3
  },
  "luminance": 0.07951
}

Semantic roles & 50–950 ramp

primary
#8A2E51
secondary
#61B394
accent
#DAA54E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2E51

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

Preview Lab → · Contrast checker → · Palette generator →

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