#8A3261#8A3261

#8A3261 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.131 H 350.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8A3261
RGBrgb(138, 50, 97)
HSLhsl(328, 47%, 37%)
HSVhsv(328, 64%, 54%)
CMYKcmyk(0%, 63.8%, 29.7%, 45.9%)
CIE-LABlab(35.10, 42.41, -8.40)
CIE-LCHlch(35.10, 43.23, 348.80°)
OKLaboklab(45.77% 0.1288 -0.0218)
OKLCHoklch(45.77% 0.131 350.4)
XYZxyz(13.7801, 8.5489, 12.2313)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3261 #328A5B
analogous
#87328A #8A3261 #8A3235
triadic
#8A3261 #618A32 #32618A
tetradic
#8A3261 #8A8732 #328A5B #32358A
square
#8A3261 #8A8732 #328A5B #32358A
split-complementary
#8A3261 #358A32 #328A87
monochromatic
#301122 #5D2241 #8A3261 #B74281 #CA6C9E

Accessibility & contrast

On white

7.75
#8A3261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A3261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3261
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3261#FFFFFF#000000##FFFFFF
##8A32611.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4962
Deuteranopia (green-blind)
#56585F
Tritanopia (blue-blind)
#942E45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3261;
/* rgb */ color: rgb(138, 50, 97);
/* oklch */ color: oklch(45.8% 0.131 350.4);
Tailwind
colors: {
  custom: {
    50: '#af6f8d',
    500: '#8a3261',
    950: '#000000',
  },
}
SCSS
$custom: #8a3261;
$custom-light: #af6f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3261",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 327.955,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.13061,
    "h": 350.4
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#8A3261
secondary
#66B289
accent
#D68F51
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A3261

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

Preview Lab → · Contrast checker → · Palette generator →

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