#A5345E#A5345E

#A5345E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.3% C 0.152 H 1.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A5345E
RGBrgb(165, 52, 94)
HSLhsl(338, 52%, 43%)
HSVhsv(338, 68%, 65%)
CMYKcmyk(0%, 68.5%, 43%, 35.3%)
CIE-LABlab(40.02, 49.67, 1.31)
CIE-LCHlch(40.02, 49.68, 1.51°)
OKLaboklab(50.28% 0.152 0.004)
OKLCHoklch(50.28% 0.152 1.5)
XYZxyz(18.7668, 11.2658, 11.7737)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5345E #34A57B
analogous
#A53497 #A5345E #A54234
triadic
#A5345E #5EA534 #345EA5
tetradic
#A5345E #97A534 #34A57B #4234A5
square
#A5345E #97A534 #34A57B #4234A5
split-complementary
#A5345E #34A542 #3497A5
monochromatic
#481729 #762543 #A5345E #C74F7C #D67D9E

Accessibility & contrast

On white

6.46
#A5345E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5345E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5345E#FFFFFF#000000##FFFFFF
##A5345E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505F
Deuteranopia (green-blind)
#69665B
Tritanopia (blue-blind)
#B32645
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5345e;
/* rgb */ color: rgb(165, 52, 94);
/* oklch */ color: oklch(50.3% 0.152 1.5);
Tailwind
colors: {
  custom: {
    50: '#c4738b',
    500: '#a5345e',
    950: '#000000',
  },
}
SCSS
$custom: #a5345e;
$custom-light: #c4738b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5345e",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 337.699,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.15204,
    "h": 1.5
  },
  "luminance": 0.11263
}

Semantic roles & 50–950 ramp

primary
#A5345E
secondary
#76BFA4
accent
#DCA64C
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13090C
muted
#827B7D

Preview Lab

Preview with #A5345E

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

Preview Lab → · Contrast checker → · Palette generator →

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