#8A3458#8A3458

#8A3458 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.7% C 0.123 H 357.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8A3458
RGBrgb(138, 52, 88)
HSLhsl(335, 45%, 37%)
HSVhsv(335, 62%, 54%)
CMYKcmyk(0%, 62.3%, 36.2%, 45.9%)
CIE-LABlab(35.13, 40.29, -2.60)
CIE-LCHlch(35.13, 40.37, 356.31°)
OKLaboklab(45.69% 0.1229 -0.0063)
OKLCHoklch(45.69% 0.123 357.1)
XYZxyz(13.4714, 8.5653, 10.1744)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3458 #348A66
analogous
#8A3483 #8A3458 #8A3B34
triadic
#8A3458 #588A34 #34588A
tetradic
#8A3458 #838A34 #348A66 #3B348A
square
#8A3458 #838A34 #348A66 #3B348A
split-complementary
#8A3458 #348A3B #34838A
monochromatic
#31131F #5E233C #8A3458 #B64574 #C96F95

Accessibility & contrast

On white

7.74
#8A3458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A3458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3458
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3458#FFFFFF#000000##FFFFFF
##8A34581.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424959
Deuteranopia (green-blind)
#595956
Tritanopia (blue-blind)
#952D42
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3458;
/* rgb */ color: rgb(138, 52, 88);
/* oklch */ color: oklch(45.7% 0.123 357.1);
Tailwind
colors: {
  custom: {
    50: '#af7087',
    500: '#8a3458',
    950: '#000000',
  },
}
SCSS
$custom: #8a3458;
$custom-light: #af7087;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3458",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 88
  },
  "hsl": {
    "h": 334.884,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.12308,
    "h": 357.1
  },
  "luminance": 0.08564
}

Semantic roles & 50–950 ramp

primary
#8A3458
secondary
#69B193
accent
#D59E53
background
#FBF7F8
surface
#F6EDEF
border
#D0C8CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A3458

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

Preview Lab → · Contrast checker → · Palette generator →

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