#A5335E#A5335E

#A5335E is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.2% C 0.153 H 1.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A5335E
RGBrgb(165, 51, 94)
HSLhsl(337, 53%, 42%)
HSVhsv(337, 69%, 65%)
CMYKcmyk(0%, 69.1%, 43%, 35.3%)
CIE-LABlab(39.88, 50.07, 1.10)
CIE-LCHlch(39.88, 50.08, 1.26°)
OKLaboklab(50.17% 0.1533 0.0034)
OKLCHoklch(50.17% 0.153 1.3)
XYZxyz(18.7226, 11.1774, 11.7590)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5335E #33A57A
analogous
#A53397 #A5335E #A54133
triadic
#A5335E #5EA533 #335EA5
tetradic
#A5335E #97A533 #33A57A #4133A5
square
#A5335E #97A533 #33A57A #4133A5
split-complementary
#A5335E #33A541 #3397A5
monochromatic
#481629 #762543 #A5335E #C84D7C #D67C9E

Accessibility & contrast

On white

6.49
#A5335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A5335E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5335E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5335E#FFFFFF#000000##FFFFFF
##A5335E1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A505F
Deuteranopia (green-blind)
#69665B
Tritanopia (blue-blind)
#B32445
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5335e;
/* rgb */ color: rgb(165, 51, 94);
/* oklch */ color: oklch(50.2% 0.153 1.3);
Tailwind
colors: {
  custom: {
    50: '#c4738b',
    500: '#a5335e',
    950: '#000000',
  },
}
SCSS
$custom: #a5335e;
$custom-light: #c4738b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5335e",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 337.368,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.15331,
    "h": 1.3
  },
  "luminance": 0.11175
}

Semantic roles & 50–950 ramp

primary
#A5335E
secondary
#75BFA3
accent
#DCA64C
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13090C
muted
#827B7D

Preview Lab

Preview with #A5335E

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

Preview Lab → · Contrast checker → · Palette generator →

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