#A5345C#A5345C

#A5345C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.2% C 0.151 H 2.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A5345C
RGBrgb(165, 52, 92)
HSLhsl(339, 52%, 43%)
HSVhsv(339, 68%, 65%)
CMYKcmyk(0%, 68.5%, 44.2%, 35.3%)
CIE-LABlab(39.97, 49.46, 2.49)
CIE-LCHlch(39.97, 49.52, 2.88°)
OKLaboklab(50.21% 0.1513 0.007)
OKLCHoklch(50.21% 0.151 2.6)
XYZxyz(18.6782, 11.2303, 11.3072)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5345C #34A57D
analogous
#A53495 #A5345C #A54434
triadic
#A5345C #5CA534 #345CA5
tetradic
#A5345C #95A534 #34A57D #4434A5
square
#A5345C #95A534 #34A57D #4434A5
split-complementary
#A5345C #34A544 #3495A5
monochromatic
#481728 #762542 #A5345C #C74F79 #D67D9D

Accessibility & contrast

On white

6.47
#A5345C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A5345C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5345C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5345C#FFFFFF#000000##FFFFFF
##A5345C1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505D
Deuteranopia (green-blind)
#6A6659
Tritanopia (blue-blind)
#B32544
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5345c;
/* rgb */ color: rgb(165, 52, 92);
/* oklch */ color: oklch(50.2% 0.151 2.6);
Tailwind
colors: {
  custom: {
    50: '#c4738a',
    500: '#a5345c',
    950: '#000000',
  },
}
SCSS
$custom: #a5345c;
$custom-light: #c4738a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5345c",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 338.761,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.15143,
    "h": 2.6
  },
  "luminance": 0.11228
}

Semantic roles & 50–950 ramp

primary
#A5345C
secondary
#76BFA5
accent
#DCA94C
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13090B
muted
#827B7C

Preview Lab

Preview with #A5345C

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

Preview Lab → · Contrast checker → · Palette generator →

#A5345C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva