#8A345E#8A345E

#8A345E is a mid, vivid pink. Relative luminance 0.087; OKLCH L 45.9% C 0.126 H 352.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8A345E
RGBrgb(138, 52, 94)
HSLhsl(331, 45%, 37%)
HSVhsv(331, 62%, 54%)
CMYKcmyk(0%, 62.3%, 31.9%, 45.9%)
CIE-LABlab(35.34, 41.06, -6.13)
CIE-LCHlch(35.34, 41.52, 351.51°)
OKLaboklab(45.91% 0.1249 -0.0157)
OKLCHoklch(45.91% 0.126 352.8)
XYZxyz(13.7303, 8.6688, 11.5377)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A345E #348A60
analogous
#8A3489 #8A345E #8A3534
triadic
#8A345E #5E8A34 #345E8A
tetradic
#8A345E #898A34 #348A60 #35348A
square
#8A345E #898A34 #348A60 #35348A
split-complementary
#8A345E #348A35 #34898A
monochromatic
#311321 #5E2340 #8A345E #B6457C #C96F9B

Accessibility & contrast

On white

7.68
#8A345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A345E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A345E#FFFFFF#000000##FFFFFF
##8A345E1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495F
Deuteranopia (green-blind)
#58595C
Tritanopia (blue-blind)
#942F45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a345e;
/* rgb */ color: rgb(138, 52, 94);
/* oklch */ color: oklch(45.9% 0.126 352.8);
Tailwind
colors: {
  custom: {
    50: '#af708b',
    500: '#8a345e',
    950: '#000000',
  },
}
SCSS
$custom: #8a345e;
$custom-light: #af708b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a345e",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 330.698,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45908,
    "c": 0.12591,
    "h": 352.8
  },
  "luminance": 0.08667
}

Semantic roles & 50–950 ramp

primary
#8A345E
secondary
#69B18E
accent
#D59553
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A345E

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

Preview Lab → · Contrast checker → · Palette generator →

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