#A5348D#A5348D

#A5348D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.178 H 337.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A5348D
RGBrgb(165, 52, 141)
HSLhsl(313, 52%, 43%)
HSVhsv(313, 68%, 65%)
CMYKcmyk(0%, 68.5%, 14.5%, 35.3%)
CIE-LABlab(41.81, 55.70, -25.11)
CIE-LCHlch(41.81, 61.10, 335.74°)
OKLaboklab(52.18% 0.164 -0.0681)
OKLCHoklch(52.18% 0.178 337.5)
XYZxyz(21.5531, 12.3803, 26.4486)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5348D #34A54C
analogous
#8434A5 #A5348D #A53455
triadic
#A5348D #8DA534 #348DA5
tetradic
#A5348D #A58434 #34A54C #3455A5
square
#A5348D #A58434 #34A54C #3455A5
split-complementary
#A5348D #55A534 #34A584
monochromatic
#48173D #762565 #A5348D #C74FAE #D67DC3

Accessibility & contrast

On white

6.04
#A5348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A5348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5348D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5348D#FFFFFF#000000##FFFFFF
##A5348D1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#AE3A5C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5348d;
/* rgb */ color: rgb(165, 52, 141);
/* oklch */ color: oklch(52.2% 0.178 337.5);
Tailwind
colors: {
  custom: {
    50: '#c375ae',
    500: '#a5348d',
    950: '#000000',
  },
}
SCSS
$custom: #a5348d;
$custom-light: #c375ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5348d",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 312.743,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.17762,
    "h": 337.5
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#A5348D
secondary
#76BF85
accent
#DC6B4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5348D

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

Preview Lab → · Contrast checker → · Palette generator →

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