#A5336F#A5336F

#A5336F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.160 H 351.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A5336F
RGBrgb(165, 51, 111)
HSLhsl(328, 53%, 42%)
HSVhsv(328, 69%, 65%)
CMYKcmyk(0%, 69.1%, 32.7%, 35.3%)
CIE-LABlab(40.44, 51.99, -8.73)
CIE-LCHlch(40.44, 52.72, 350.46°)
OKLaboklab(50.77% 0.1587 -0.0225)
OKLCHoklch(50.77% 0.16 351.9)
XYZxyz(19.5712, 11.5169, 16.2282)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5336F #33A569
analogous
#A233A5 #A5336F #A53336
triadic
#A5336F #6FA533 #336FA5
tetradic
#A5336F #A5A233 #33A569 #3336A5
square
#A5336F #A5A233 #33A569 #3336A5
split-complementary
#A5336F #36A533 #33A5A2
monochromatic
#481630 #762550 #A5336F #C84D8E #D67CAC

Accessibility & contrast

On white

6.36
#A5336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A5336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5336F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5336F#FFFFFF#000000##FFFFFF
##A5336F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455271
Deuteranopia (green-blind)
#65676C
Tritanopia (blue-blind)
#B12C4C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5336f;
/* rgb */ color: rgb(165, 51, 111);
/* oklch */ color: oklch(50.8% 0.160 351.9);
Tailwind
colors: {
  custom: {
    50: '#c47398',
    500: '#a5336f',
    950: '#000000',
  },
}
SCSS
$custom: #a5336f;
$custom-light: #c47398;
$custom-dark: #000000;
JSON
{
  "hex": "#a5336f",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 328.421,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.16033,
    "h": 351.9
  },
  "luminance": 0.11515
}

Semantic roles & 50–950 ramp

primary
#A5336F
secondary
#75BF98
accent
#DC904C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A5336F

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

Preview Lab → · Contrast checker → · Palette generator →

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