#8A345D#8A345D

#8A345D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.125 H 353.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8A345D
RGBrgb(138, 52, 93)
HSLhsl(331, 45%, 37%)
HSVhsv(331, 62%, 54%)
CMYKcmyk(0%, 62.3%, 32.6%, 45.9%)
CIE-LABlab(35.30, 40.93, -5.54)
CIE-LCHlch(35.30, 41.31, 352.29°)
OKLaboklab(45.87% 0.1246 -0.0141)
OKLCHoklch(45.87% 0.125 353.5)
XYZxyz(13.6857, 8.6510, 11.3029)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A345D #348A61
analogous
#8A3488 #8A345D #8A3634
triadic
#8A345D #5D8A34 #345D8A
tetradic
#8A345D #888A34 #348A61 #36348A
square
#8A345D #888A34 #348A61 #36348A
split-complementary
#8A345D #348A36 #34888A
monochromatic
#311321 #5E233F #8A345D #B6457B #C96F9A

Accessibility & contrast

On white

7.69
#8A345D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A345D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A345D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A345D#FFFFFF#000000##FFFFFF
##8A345D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495E
Deuteranopia (green-blind)
#58595B
Tritanopia (blue-blind)
#942F44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a345d;
/* rgb */ color: rgb(138, 52, 93);
/* oklch */ color: oklch(45.9% 0.125 353.5);
Tailwind
colors: {
  custom: {
    50: '#af708a',
    500: '#8a345d',
    950: '#000000',
  },
}
SCSS
$custom: #8a345d;
$custom-light: #af708a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a345d",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 331.395,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4587,
    "c": 0.12541,
    "h": 353.5
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#8A345D
secondary
#69B18F
accent
#D59753
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8A345D

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

Preview Lab → · Contrast checker → · Palette generator →

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