#A5336B#A5336B

#A5336B is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.158 H 354.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A5336B
RGBrgb(165, 51, 107)
HSLhsl(331, 53%, 42%)
HSVhsv(331, 69%, 65%)
CMYKcmyk(0%, 69.1%, 35.2%, 35.3%)
CIE-LABlab(40.30, 51.51, -6.45)
CIE-LCHlch(40.30, 51.91, 352.87°)
OKLaboklab(50.62% 0.1576 -0.0164)
OKLCHoklch(50.62% 0.158 354.1)
XYZxyz(19.3558, 11.4307, 15.0941)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5336B #33A56D
analogous
#A533A4 #A5336B #A53433
triadic
#A5336B #6BA533 #336BA5
tetradic
#A5336B #A4A533 #33A56D #3433A5
square
#A5336B #A4A533 #33A56D #3433A5
split-complementary
#A5336B #33A534 #33A4A5
monochromatic
#48162E #76254D #A5336B #C84D8A #D67CA8

Accessibility & contrast

On white

6.39
#A5336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5336B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5336B#FFFFFF#000000##FFFFFF
##A5336B1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526D
Deuteranopia (green-blind)
#666768
Tritanopia (blue-blind)
#B22A4A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5336b;
/* rgb */ color: rgb(165, 51, 107);
/* oklch */ color: oklch(50.6% 0.158 354.1);
Tailwind
colors: {
  custom: {
    50: '#c47395',
    500: '#a5336b',
    950: '#000000',
  },
}
SCSS
$custom: #a5336b;
$custom-light: #c47395;
$custom-dark: #000000;
JSON
{
  "hex": "#a5336b",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 330.526,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.15841,
    "h": 354.1
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#A5336B
secondary
#75BF9B
accent
#DC954C
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A5336B

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

Preview Lab → · Contrast checker → · Palette generator →

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