#8A3354#8A3354

#8A3354 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.4% C 0.123 H 359.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8A3354
RGBrgb(138, 51, 84)
HSLhsl(337, 46%, 37%)
HSVhsv(337, 63%, 54%)
CMYKcmyk(0%, 63%, 39.1%, 45.9%)
CIE-LABlab(34.83, 40.28, -0.48)
CIE-LCHlch(34.83, 40.28, 359.32°)
OKLaboklab(45.42% 0.123 -0.0008)
OKLCHoklch(45.42% 0.123 359.6)
XYZxyz(13.2661, 8.4125, 9.3109)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3354 #338A69
analogous
#8A3380 #8A3354 #8A3D33
triadic
#8A3354 #548A33 #33548A
tetradic
#8A3354 #808A33 #338A69 #3D338A
square
#8A3354 #808A33 #338A69 #3D338A
split-complementary
#8A3354 #338A3D #33808A
monochromatic
#31121E #5D2239 #8A3354 #B7446F #C96E91

Accessibility & contrast

On white

7.83
#8A3354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A3354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3354
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3354#FFFFFF#000000##FFFFFF
##8A33541.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434855
Deuteranopia (green-blind)
#5A5852
Tritanopia (blue-blind)
#952B40
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3354;
/* rgb */ color: rgb(138, 51, 84);
/* oklch */ color: oklch(45.4% 0.123 359.6);
Tailwind
colors: {
  custom: {
    50: '#b07084',
    500: '#8a3354',
    950: '#000000',
  },
}
SCSS
$custom: #8a3354;
$custom-light: #b07084;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3354",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 84
  },
  "hsl": {
    "h": 337.241,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.12298,
    "h": 359.6
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#8A3354
secondary
#67B195
accent
#D6A452
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8A3354

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

Preview Lab → · Contrast checker → · Palette generator →

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