#8A3252#8A3252

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

Color values

HEX#8A3252
RGBrgb(138, 50, 82)
HSLhsl(338, 47%, 37%)
HSVhsv(338, 64%, 54%)
CMYKcmyk(0%, 63.8%, 40.6%, 45.9%)
CIE-LABlab(34.59, 40.51, 0.46)
CIE-LCHlch(34.59, 40.52, 0.65°)
OKLaboklab(45.22% 0.1237 0.0017)
OKLCHoklch(45.22% 0.124 0.8)
XYZxyz(13.1457, 8.2952, 8.8899)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3252 #328A6A
analogous
#8A327E #8A3252 #8A3E32
triadic
#8A3252 #528A32 #32528A
tetradic
#8A3252 #7E8A32 #328A6A #3E328A
square
#8A3252 #7E8A32 #328A6A #3E328A
split-complementary
#8A3252 #328A3E #327E8A
monochromatic
#30111D #5D2237 #8A3252 #B7426D #CA6C8E

Accessibility & contrast

On white

7.90
#8A3252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A3252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3252
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3252#FFFFFF#000000##FFFFFF
##8A32521.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#5A5850
Tritanopia (blue-blind)
#95293E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a3252;
/* rgb */ color: rgb(138, 50, 82);
/* oklch */ color: oklch(45.2% 0.124 0.8);
Tailwind
colors: {
  custom: {
    50: '#b06f82',
    500: '#8a3252',
    950: '#000000',
  },
}
SCSS
$custom: #8a3252;
$custom-light: #b06f82;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3252",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 338.182,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.12374,
    "h": 0.8
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#8A3252
secondary
#66B296
accent
#D6A651
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8A3252

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

Preview Lab → · Contrast checker → · Palette generator →

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