#A5337C#A5337C

#A5337C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.168 H 345.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A5337C
RGBrgb(165, 51, 124)
HSLhsl(322, 53%, 42%)
HSVhsv(322, 69%, 65%)
CMYKcmyk(0%, 69.1%, 24.8%, 35.3%)
CIE-LABlab(40.94, 53.66, -16.05)
CIE-LCHlch(40.94, 56.01, 343.35°)
OKLaboklab(51.29% 0.1621 -0.0426)
OKLCHoklch(51.29% 0.168 345.3)
XYZxyz(20.3398, 11.8243, 20.2760)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5337C #33A55C
analogous
#9533A5 #A5337C #A53343
triadic
#A5337C #7CA533 #337CA5
tetradic
#A5337C #A59533 #33A55C #3343A5
square
#A5337C #A59533 #33A55C #3343A5
split-complementary
#A5337C #43A533 #33A595
monochromatic
#481636 #762559 #A5337C #C84D9C #D67CB6

Accessibility & contrast

On white

6.24
#A5337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A5337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5337C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5337C#FFFFFF#000000##FFFFFF
##A5337C1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547E
Deuteranopia (green-blind)
#616879
Tritanopia (blue-blind)
#B03153
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5337c;
/* rgb */ color: rgb(165, 51, 124);
/* oklch */ color: oklch(51.3% 0.168 345.3);
Tailwind
colors: {
  custom: {
    50: '#c374a2',
    500: '#a5337c',
    950: '#000000',
  },
}
SCSS
$custom: #a5337c;
$custom-light: #c374a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5337c",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 321.579,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.16758,
    "h": 345.3
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#A5337C
secondary
#75BF8F
accent
#DC804C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A5337C

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

Preview Lab → · Contrast checker → · Palette generator →

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