#8A345F#8A345F

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

Color values

HEX#8A345F
RGBrgb(138, 52, 95)
HSLhsl(330, 45%, 37%)
HSVhsv(330, 62%, 54%)
CMYKcmyk(0%, 62.3%, 31.2%, 45.9%)
CIE-LABlab(35.37, 41.20, -6.71)
CIE-LCHlch(35.37, 41.74, 350.75°)
OKLaboklab(45.95% 0.1253 -0.0173)
OKLCHoklch(45.95% 0.126 352.1)
XYZxyz(13.7754, 8.6869, 11.7755)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A345F #348A5F
analogous
#8A348A #8A345F #8A3434
triadic
#8A345F #5F8A34 #345F8A
tetradic
#8A345F #8A8A34 #348A5F #34348A
square
#8A345F #8A8A34 #348A5F #34348A
split-complementary
#8A345F #348A34 #348A8A
monochromatic
#311322 #5E2340 #8A345F #B6457E #C96F9C

Accessibility & contrast

On white

7.67
#8A345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A345F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A345F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A345F#FFFFFF#000000##FFFFFF
##8A345F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#58595D
Tritanopia (blue-blind)
#942F45
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a345f;
/* rgb */ color: rgb(138, 52, 95);
/* oklch */ color: oklch(45.9% 0.126 352.1);
Tailwind
colors: {
  custom: {
    50: '#af708c',
    500: '#8a345f',
    950: '#000000',
  },
}
SCSS
$custom: #8a345f;
$custom-light: #af708c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a345f",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 330,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45946,
    "c": 0.12644,
    "h": 352.1
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#8A345F
secondary
#69B18D
accent
#D59453
background
#FBF7F8
surface
#F6EDF0
border
#D0C8CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8A345F

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

Preview Lab → · Contrast checker → · Palette generator →

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