#8A2E57#8A2E57

#8A2E57 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.132 H 356.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8A2E57
RGBrgb(138, 46, 87)
HSLhsl(333, 50%, 36%)
HSVhsv(333, 67%, 54%)
CMYKcmyk(0%, 66.7%, 37%, 45.9%)
CIE-LABlab(34.08, 42.93, -3.51)
CIE-LCHlch(34.08, 43.07, 355.33°)
OKLaboklab(44.9% 0.1312 -0.0087)
OKLCHoklch(44.9% 0.132 356.2)
XYZxyz(13.1793, 8.0469, 9.8741)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E57 #2E8A61
analogous
#8A2E85 #8A2E57 #8A332E
triadic
#8A2E57 #578A2E #2E578A
tetradic
#8A2E57 #858A2E #2E8A61 #332E8A
square
#8A2E57 #858A2E #2E8A61 #332E8A
split-complementary
#8A2E57 #2E8A33 #2E858A
monochromatic
#2E0F1D #5C1F3A #8A2E57 #B83D74 #CC6694

Accessibility & contrast

On white

8.05
#8A2E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E57
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E57#FFFFFF#000000##FFFFFF
##8A2E571.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4558
Deuteranopia (green-blind)
#575655
Tritanopia (blue-blind)
#95263F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2e57;
/* rgb */ color: rgb(138, 46, 87);
/* oklch */ color: oklch(44.9% 0.132 356.2);
Tailwind
colors: {
  custom: {
    50: '#b06d86',
    500: '#8a2e57',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e57;
$custom-light: #b06d86;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e57",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 333.261,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.13152,
    "h": 356.2
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#8A2E57
secondary
#61B38E
accent
#DA9B4E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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