#8A3274#8A3274

#8A3274 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.143 H 338.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8A3274
RGBrgb(138, 50, 116)
HSLhsl(315, 47%, 37%)
HSVhsv(315, 64%, 54%)
CMYKcmyk(0%, 63.8%, 15.9%, 45.9%)
CIE-LABlab(35.88, 45.21, -19.22)
CIE-LCHlch(35.88, 49.13, 336.97°)
OKLaboklab(46.6% 0.1335 -0.0519)
OKLCHoklch(46.6% 0.143 338.8)
XYZxyz(14.7745, 8.9467, 17.4684)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3274 #328A48
analogous
#74328A #8A3274 #8A3248
triadic
#8A3274 #748A32 #32748A
tetradic
#8A3274 #8A7432 #328A48 #32488A
square
#8A3274 #8A7432 #328A48 #32488A
split-complementary
#8A3274 #488A32 #328A74
monochromatic
#301128 #5D224E #8A3274 #B7429A #CA6CB3

Accessibility & contrast

On white

7.53
#8A3274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A3274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3274
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3274#FFFFFF#000000##FFFFFF
##8A32741.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C76
Deuteranopia (green-blind)
#505972
Tritanopia (blue-blind)
#92354E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3274;
/* rgb */ color: rgb(138, 50, 116);
/* oklch */ color: oklch(46.6% 0.143 338.8);
Tailwind
colors: {
  custom: {
    50: '#af709c',
    500: '#8a3274',
    950: '#000000',
  },
}
SCSS
$custom: #8a3274;
$custom-light: #af709c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3274",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 315,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.14321,
    "h": 338.8
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#8A3274
secondary
#66B279
accent
#D67351
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3274

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

Preview Lab → · Contrast checker → · Palette generator →

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