#8A2E61#8A2E61

#8A2E61 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.137 H 349.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A2E61
RGBrgb(138, 46, 97)
HSLhsl(327, 50%, 36%)
HSVhsv(327, 67%, 54%)
CMYKcmyk(0%, 66.7%, 29.7%, 45.9%)
CIE-LABlab(34.44, 44.21, -9.39)
CIE-LCHlch(34.44, 45.20, 348.01°)
OKLaboklab(45.28% 0.1344 -0.0245)
OKLCHoklch(45.28% 0.137 349.7)
XYZxyz(13.6165, 8.2218, 12.1768)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E61 #2E8A57
analogous
#852E8A #8A2E61 #8A2E33
triadic
#8A2E61 #618A2E #2E618A
tetradic
#8A2E61 #8A852E #2E8A57 #2E338A
square
#8A2E61 #8A852E #2E8A57 #2E338A
split-complementary
#8A2E61 #338A2E #2E8A85
monochromatic
#2E0F20 #5C1F41 #8A2E61 #B83D81 #CC669F

Accessibility & contrast

On white

7.94
#8A2E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E61
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E61#FFFFFF#000000##FFFFFF
##8A2E611.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4763
Deuteranopia (green-blind)
#54575F
Tritanopia (blue-blind)
#942A43
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2e61;
/* rgb */ color: rgb(138, 46, 97);
/* oklch */ color: oklch(45.3% 0.137 349.7);
Tailwind
colors: {
  custom: {
    50: '#af6d8e',
    500: '#8a2e61',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e61;
$custom-light: #af6d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e61",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 326.739,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.13657,
    "h": 349.7
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#8A2E61
secondary
#61B385
accent
#DA8C4E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2E61

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

Preview Lab → · Contrast checker → · Palette generator →

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