#A5336C#A5336C

#A5336C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.159 H 353.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A5336C
RGBrgb(165, 51, 108)
HSLhsl(330, 53%, 42%)
HSVhsv(330, 69%, 65%)
CMYKcmyk(0%, 69.1%, 34.5%, 35.3%)
CIE-LABlab(40.33, 51.63, -7.02)
CIE-LCHlch(40.33, 52.10, 352.26°)
OKLaboklab(50.65% 0.1579 -0.0179)
OKLCHoklch(50.65% 0.159 353.5)
XYZxyz(19.4088, 11.4519, 15.3728)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5336C #33A56C
analogous
#A533A5 #A5336C #A53333
triadic
#A5336C #6CA533 #336CA5
tetradic
#A5336C #A5A533 #33A56C #3333A5
square
#A5336C #A5A533 #33A56C #3333A5
split-complementary
#A5336C #33A533 #33A5A5
monochromatic
#48162F #76254D #A5336C #C84D8B #D67CA9

Accessibility & contrast

On white

6.38
#A5336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A5336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5336C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5336C#FFFFFF#000000##FFFFFF
##A5336C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526E
Deuteranopia (green-blind)
#666769
Tritanopia (blue-blind)
#B22A4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5336c;
/* rgb */ color: rgb(165, 51, 108);
/* oklch */ color: oklch(50.7% 0.159 353.5);
Tailwind
colors: {
  custom: {
    50: '#c47396',
    500: '#a5336c',
    950: '#000000',
  },
}
SCSS
$custom: #a5336c;
$custom-light: #c47396;
$custom-dark: #000000;
JSON
{
  "hex": "#a5336c",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 330,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.15888,
    "h": 353.5
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#A5336C
secondary
#75BF9A
accent
#DC944C
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A5336C

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

Preview Lab → · Contrast checker → · Palette generator →

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