#8A2E58#8A2E58

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

Color values

HEX#8A2E58
RGBrgb(138, 46, 88)
HSLhsl(333, 50%, 36%)
HSVhsv(333, 67%, 54%)
CMYKcmyk(0%, 66.7%, 36.2%, 45.9%)
CIE-LABlab(34.11, 43.05, -4.10)
CIE-LCHlch(34.11, 43.25, 354.56°)
OKLaboklab(44.93% 0.1316 -0.0103)
OKLCHoklch(44.93% 0.132 355.5)
XYZxyz(13.2204, 8.0633, 10.0908)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E58 #2E8A60
analogous
#8A2E86 #8A2E58 #8A322E
triadic
#8A2E58 #588A2E #2E588A
tetradic
#8A2E58 #868A2E #2E8A60 #322E8A
square
#8A2E58 #868A2E #2E8A60 #322E8A
split-complementary
#8A2E58 #2E8A32 #2E868A
monochromatic
#2E0F1D #5C1F3B #8A2E58 #B83D75 #CC6695

Accessibility & contrast

On white

8.04
#8A2E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E58
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E58#FFFFFF#000000##FFFFFF
##8A2E581.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4559
Deuteranopia (green-blind)
#575756
Tritanopia (blue-blind)
#95273F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2e58;
/* rgb */ color: rgb(138, 46, 88);
/* oklch */ color: oklch(44.9% 0.132 355.5);
Tailwind
colors: {
  custom: {
    50: '#b06d87',
    500: '#8a2e58',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e58;
$custom-light: #b06d87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e58",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 332.609,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44932,
    "c": 0.13197,
    "h": 355.5
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#8A2E58
secondary
#61B38D
accent
#DA9A4E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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