#8A3358#8A3358

#8A3358 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.6% C 0.125 H 356.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8A3358
RGBrgb(138, 51, 88)
HSLhsl(334, 46%, 37%)
HSVhsv(334, 63%, 54%)
CMYKcmyk(0%, 63%, 36.2%, 45.9%)
CIE-LABlab(34.96, 40.76, -2.86)
CIE-LCHlch(34.96, 40.86, 355.99°)
OKLaboklab(45.56% 0.1244 -0.007)
OKLCHoklch(45.56% 0.125 356.8)
XYZxyz(13.4273, 8.4770, 10.1597)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3358 #338A65
analogous
#8A3384 #8A3358 #8A3A33
triadic
#8A3358 #588A33 #33588A
tetradic
#8A3358 #848A33 #338A65 #3A338A
square
#8A3358 #848A33 #338A65 #3A338A
split-complementary
#8A3358 #338A3A #33848A
monochromatic
#31121F #5D223C #8A3358 #B74474 #C96E95

Accessibility & contrast

On white

7.79
#8A3358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A3358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3358
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3358#FFFFFF#000000##FFFFFF
##8A33581.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#595856
Tritanopia (blue-blind)
#952C42
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a3358;
/* rgb */ color: rgb(138, 51, 88);
/* oklch */ color: oklch(45.6% 0.125 356.8);
Tailwind
colors: {
  custom: {
    50: '#b07087',
    500: '#8a3358',
    950: '#000000',
  },
}
SCSS
$custom: #8a3358;
$custom-light: #b07087;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3358",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 88
  },
  "hsl": {
    "h": 334.483,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.1246,
    "h": 356.8
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#8A3358
secondary
#67B192
accent
#D69E52
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A3358

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

Preview Lab → · Contrast checker → · Palette generator →

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