#A5336E#A5336E

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

Color values

HEX#A5336E
RGBrgb(165, 51, 110)
HSLhsl(329, 53%, 42%)
HSVhsv(329, 69%, 65%)
CMYKcmyk(0%, 69.1%, 33.3%, 35.3%)
CIE-LABlab(40.40, 51.87, -8.16)
CIE-LCHlch(40.40, 52.51, 351.06°)
OKLaboklab(50.73% 0.1585 -0.021)
OKLCHoklch(50.73% 0.16 352.5)
XYZxyz(19.5164, 11.4950, 15.9398)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5336E #33A56A
analogous
#A333A5 #A5336E #A53335
triadic
#A5336E #6EA533 #336EA5
tetradic
#A5336E #A5A333 #33A56A #3335A5
square
#A5336E #A5A333 #33A56A #3335A5
split-complementary
#A5336E #35A533 #33A5A3
monochromatic
#481630 #76254F #A5336E #C84D8D #D67CAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5336E#FFFFFF#000000##FFFFFF
##A5336E1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#65676B
Tritanopia (blue-blind)
#B12B4C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5336e;
/* rgb */ color: rgb(165, 51, 110);
/* oklch */ color: oklch(50.7% 0.160 352.5);
Tailwind
colors: {
  custom: {
    50: '#c47397',
    500: '#a5336e',
    950: '#000000',
  },
}
SCSS
$custom: #a5336e;
$custom-light: #c47397;
$custom-dark: #000000;
JSON
{
  "hex": "#a5336e",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 328.947,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.15985,
    "h": 352.5
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5336E

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

Preview Lab → · Contrast checker → · Palette generator →

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