#A5348B#A5348B

#A5348B is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.176 H 338.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A5348B
RGBrgb(165, 52, 139)
HSLhsl(314, 52%, 43%)
HSVhsv(314, 68%, 65%)
CMYKcmyk(0%, 68.5%, 15.8%, 35.3%)
CIE-LABlab(41.72, 55.40, -24.03)
CIE-LCHlch(41.72, 60.39, 336.55°)
OKLaboklab(52.08% 0.1637 -0.0651)
OKLCHoklch(52.08% 0.176 338.3)
XYZxyz(21.4057, 12.3213, 25.6720)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5348B #34A54E
analogous
#8634A5 #A5348B #A53453
triadic
#A5348B #8BA534 #348BA5
tetradic
#A5348B #A58634 #34A54E #3453A5
square
#A5348B #A58634 #34A54E #3453A5
split-complementary
#A5348B #53A534 #34A586
monochromatic
#48173D #762564 #A5348B #C74FAC #D67DC2

Accessibility & contrast

On white

6.06
#A5348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A5348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5348B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5348B#FFFFFF#000000##FFFFFF
##A5348B1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#AE395B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a5348b;
/* rgb */ color: rgb(165, 52, 139);
/* oklch */ color: oklch(52.1% 0.176 338.3);
Tailwind
colors: {
  custom: {
    50: '#c375ad',
    500: '#a5348b',
    950: '#000000',
  },
}
SCSS
$custom: #a5348b;
$custom-light: #c375ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a5348b",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 313.805,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.17619,
    "h": 338.3
  },
  "luminance": 0.12319
}

Semantic roles & 50–950 ramp

primary
#A5348B
secondary
#76BF87
accent
#DC6D4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5348B

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

Preview Lab → · Contrast checker → · Palette generator →

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