#8A2E5F#8A2E5F

#8A2E5F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.135 H 350.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8A2E5F
RGBrgb(138, 46, 95)
HSLhsl(328, 50%, 36%)
HSVhsv(328, 67%, 54%)
CMYKcmyk(0%, 66.7%, 31.2%, 45.9%)
CIE-LABlab(34.37, 43.94, -8.23)
CIE-LCHlch(34.37, 44.71, 349.40°)
OKLaboklab(45.2% 0.1338 -0.0213)
OKLCHoklch(45.2% 0.135 350.9)
XYZxyz(13.5244, 8.1849, 11.6919)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E5F #2E8A59
analogous
#872E8A #8A2E5F #8A2E31
triadic
#8A2E5F #5F8A2E #2E5F8A
tetradic
#8A2E5F #8A872E #2E8A59 #2E318A
square
#8A2E5F #8A872E #2E8A59 #2E318A
split-complementary
#8A2E5F #318A2E #2E8A87
monochromatic
#2E0F20 #5C1F3F #8A2E5F #B83D7F #CC669D

Accessibility & contrast

On white

7.96
#8A2E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8A2E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E5F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E5F#FFFFFF#000000##FFFFFF
##8A2E5F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4660
Deuteranopia (green-blind)
#55575D
Tritanopia (blue-blind)
#942942
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2e5f;
/* rgb */ color: rgb(138, 46, 95);
/* oklch */ color: oklch(45.2% 0.135 350.9);
Tailwind
colors: {
  custom: {
    50: '#b06d8c',
    500: '#8a2e5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e5f;
$custom-light: #b06d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e5f",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 328.043,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.452,
    "c": 0.13546,
    "h": 350.9
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#8A2E5F
secondary
#61B387
accent
#DA8F4E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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