#8A334D#8A334D

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

Color values

HEX#8A334D
RGBrgb(138, 51, 77)
HSLhsl(342, 46%, 37%)
HSVhsv(342, 63%, 54%)
CMYKcmyk(0%, 63%, 44.2%, 45.9%)
CIE-LABlab(34.62, 39.48, 3.72)
CIE-LCHlch(34.62, 39.65, 5.38°)
OKLaboklab(45.19% 0.1204 0.01)
OKLCHoklch(45.19% 0.121 4.8)
XYZxyz(13.0055, 8.3083, 7.9385)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A334D #338A70
analogous
#8A3379 #8A334D #8A4533
triadic
#8A334D #4D8A33 #334D8A
tetradic
#8A334D #798A33 #338A70 #45338A
square
#8A334D #798A33 #338A70 #45338A
split-complementary
#8A334D #338A45 #33798A
monochromatic
#31121B #5D2234 #8A334D #B74466 #C96E89

Accessibility & contrast

On white

7.89
#8A334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A334D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A334D#FFFFFF#000000##FFFFFF
##8A334D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474E
Deuteranopia (green-blind)
#5B584B
Tritanopia (blue-blind)
#96293D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a334d;
/* rgb */ color: rgb(138, 51, 77);
/* oklch */ color: oklch(45.2% 0.121 4.8);
Tailwind
colors: {
  custom: {
    50: '#b06f7e',
    500: '#8a334d',
    950: '#000000',
  },
}
SCSS
$custom: #8a334d;
$custom-light: #b06f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a334d",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 342.069,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.12077,
    "h": 4.8
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#8A334D
secondary
#67B19B
accent
#D6AE52
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8A334D

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

Preview Lab → · Contrast checker → · Palette generator →

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