#A5336D#A5336D

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

Color values

HEX#A5336D
RGBrgb(165, 51, 109)
HSLhsl(329, 53%, 42%)
HSVhsv(329, 69%, 65%)
CMYKcmyk(0%, 69.1%, 33.9%, 35.3%)
CIE-LABlab(40.37, 51.75, -7.59)
CIE-LCHlch(40.37, 52.30, 351.65°)
OKLaboklab(50.69% 0.1582 -0.0195)
OKLCHoklch(50.69% 0.159 353)
XYZxyz(19.4623, 11.4733, 15.6547)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5336D #33A56B
analogous
#A433A5 #A5336D #A53334
triadic
#A5336D #6DA533 #336DA5
tetradic
#A5336D #A5A433 #33A56B #3334A5
square
#A5336D #A5A433 #33A56B #3334A5
split-complementary
#A5336D #34A533 #33A5A4
monochromatic
#48162F #76254E #A5336D #C84D8C #D67CAA

Accessibility & contrast

On white

6.37
#A5336D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5336D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5336D#FFFFFF#000000##FFFFFF
##A5336D1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526F
Deuteranopia (green-blind)
#66676A
Tritanopia (blue-blind)
#B22B4B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5336d;
/* rgb */ color: rgb(165, 51, 109);
/* oklch */ color: oklch(50.7% 0.159 353.0);
Tailwind
colors: {
  custom: {
    50: '#c47396',
    500: '#a5336d',
    950: '#000000',
  },
}
SCSS
$custom: #a5336d;
$custom-light: #c47396;
$custom-dark: #000000;
JSON
{
  "hex": "#a5336d",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 329.474,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.15935,
    "h": 353
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#A5336D
secondary
#75BF99
accent
#DC934C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A5336D

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

Preview Lab → · Contrast checker → · Palette generator →

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