#A5348C#A5348C

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

Color values

HEX#A5348C
RGBrgb(165, 52, 140)
HSLhsl(313, 52%, 43%)
HSVhsv(313, 68%, 65%)
CMYKcmyk(0%, 68.5%, 15.2%, 35.3%)
CIE-LABlab(41.77, 55.55, -24.57)
CIE-LCHlch(41.77, 60.74, 336.14°)
OKLaboklab(52.13% 0.1639 -0.0666)
OKLCHoklch(52.13% 0.177 337.9)
XYZxyz(21.4791, 12.3507, 26.0586)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5348C #34A54D
analogous
#8534A5 #A5348C #A53454
triadic
#A5348C #8CA534 #348CA5
tetradic
#A5348C #A58534 #34A54D #3454A5
square
#A5348C #A58534 #34A54D #3454A5
split-complementary
#A5348C #54A534 #34A585
monochromatic
#48173D #762565 #A5348C #C74FAD #D67DC2

Accessibility & contrast

On white

6.05
#A5348C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A5348C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5348C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5348C#FFFFFF#000000##FFFFFF
##A5348C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578F
Deuteranopia (green-blind)
#5C6989
Tritanopia (blue-blind)
#AE395B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a5348c;
/* rgb */ color: rgb(165, 52, 140);
/* oklch */ color: oklch(52.1% 0.177 337.9);
Tailwind
colors: {
  custom: {
    50: '#c375ae',
    500: '#a5348c',
    950: '#000000',
  },
}
SCSS
$custom: #a5348c;
$custom-light: #c375ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5348c",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 313.274,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.1769,
    "h": 337.9
  },
  "luminance": 0.12349
}

Semantic roles & 50–950 ramp

primary
#A5348C
secondary
#76BF86
accent
#DC6C4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A5348C

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

Preview Lab → · Contrast checker → · Palette generator →

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