#8A345C#8A345C

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

Color values

HEX#8A345C
RGBrgb(138, 52, 92)
HSLhsl(332, 45%, 37%)
HSVhsv(332, 62%, 54%)
CMYKcmyk(0%, 62.3%, 33.3%, 45.9%)
CIE-LABlab(35.27, 40.80, -4.95)
CIE-LCHlch(35.27, 41.10, 353.08°)
OKLaboklab(45.83% 0.1243 -0.0126)
OKLCHoklch(45.83% 0.125 354.2)
XYZxyz(13.6417, 8.6334, 11.0711)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A345C #348A62
analogous
#8A3487 #8A345C #8A3734
triadic
#8A345C #5C8A34 #345C8A
tetradic
#8A345C #878A34 #348A62 #37348A
square
#8A345C #878A34 #348A62 #37348A
split-complementary
#8A345C #348A37 #34878A
monochromatic
#311321 #5E233E #8A345C #B6457A #C96F99

Accessibility & contrast

On white

7.70
#8A345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A345C
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A345C#FFFFFF#000000##FFFFFF
##8A345C1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495D
Deuteranopia (green-blind)
#58595A
Tritanopia (blue-blind)
#942E44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a345c;
/* rgb */ color: rgb(138, 52, 92);
/* oklch */ color: oklch(45.8% 0.125 354.2);
Tailwind
colors: {
  custom: {
    50: '#af708a',
    500: '#8a345c',
    950: '#000000',
  },
}
SCSS
$custom: #8a345c;
$custom-light: #af708a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a345c",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 332.093,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45833,
    "c": 0.12491,
    "h": 354.2
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A345C

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

Preview Lab → · Contrast checker → · Palette generator →

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