#8A3254#8A3254

#8A3254 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.3% C 0.124 H 359.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8A3254
RGBrgb(138, 50, 84)
HSLhsl(337, 47%, 37%)
HSVhsv(337, 64%, 54%)
CMYKcmyk(0%, 63.8%, 39.1%, 45.9%)
CIE-LABlab(34.65, 40.75, -0.74)
CIE-LCHlch(34.65, 40.75, 358.97°)
OKLaboklab(45.29% 0.1245 -0.0014)
OKLCHoklch(45.29% 0.124 359.3)
XYZxyz(13.2229, 8.3260, 9.2965)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3254 #328A68
analogous
#8A3280 #8A3254 #8A3C32
triadic
#8A3254 #548A32 #32548A
tetradic
#8A3254 #808A32 #328A68 #3C328A
square
#8A3254 #808A32 #328A68 #3C328A
split-complementary
#8A3254 #328A3C #32808A
monochromatic
#30111D #5D2239 #8A3254 #B7426F #CA6C91

Accessibility & contrast

On white

7.88
#8A3254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A3254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3254
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3254#FFFFFF#000000##FFFFFF
##8A32541.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424755
Deuteranopia (green-blind)
#595852
Tritanopia (blue-blind)
#952A3F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a3254;
/* rgb */ color: rgb(138, 50, 84);
/* oklch */ color: oklch(45.3% 0.124 359.3);
Tailwind
colors: {
  custom: {
    50: '#b06f84',
    500: '#8a3254',
    950: '#000000',
  },
}
SCSS
$custom: #8a3254;
$custom-light: #b06f84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3254",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 336.818,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.12447,
    "h": 359.3
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#8A3254
secondary
#66B294
accent
#D6A351
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8A3254

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

Preview Lab → · Contrast checker → · Palette generator →

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