#A5337B#A5337B

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

Color values

HEX#A5337B
RGBrgb(165, 51, 123)
HSLhsl(322, 53%, 42%)
HSVhsv(322, 69%, 65%)
CMYKcmyk(0%, 69.1%, 25.5%, 35.3%)
CIE-LABlab(40.90, 53.52, -15.49)
CIE-LCHlch(40.90, 55.72, 343.86°)
OKLaboklab(51.25% 0.1619 -0.0411)
OKLCHoklch(51.25% 0.167 345.8)
XYZxyz(20.2768, 11.7991, 19.9447)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5337B #33A55D
analogous
#9633A5 #A5337B #A53342
triadic
#A5337B #7BA533 #337BA5
tetradic
#A5337B #A59633 #33A55D #3342A5
square
#A5337B #A59633 #33A55D #3342A5
split-complementary
#A5337B #42A533 #33A596
monochromatic
#481635 #762558 #A5337B #C84D9B #D67CB5

Accessibility & contrast

On white

6.25
#A5337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5337B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5337B#FFFFFF#000000##FFFFFF
##A5337B1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#626878
Tritanopia (blue-blind)
#B03152
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5337b;
/* rgb */ color: rgb(165, 51, 123);
/* oklch */ color: oklch(51.3% 0.167 345.8);
Tailwind
colors: {
  custom: {
    50: '#c374a1',
    500: '#a5337b',
    950: '#000000',
  },
}
SCSS
$custom: #a5337b;
$custom-light: #c374a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5337b",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 322.105,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51251,
    "c": 0.16698,
    "h": 345.8
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

primary
#A5337B
secondary
#75BF90
accent
#DC814C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A5337B

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

Preview Lab → · Contrast checker → · Palette generator →

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