#A5337F#A5337F

#A5337F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.169 H 343.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A5337F
RGBrgb(165, 51, 127)
HSLhsl(320, 53%, 42%)
HSVhsv(320, 69%, 65%)
CMYKcmyk(0%, 69.1%, 23%, 35.3%)
CIE-LABlab(41.06, 54.07, -17.71)
CIE-LCHlch(41.06, 56.89, 341.87°)
OKLaboklab(51.42% 0.1627 -0.0472)
OKLCHoklch(51.42% 0.169 343.8)
XYZxyz(20.5324, 11.9013, 21.2904)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5337F #33A559
analogous
#9233A5 #A5337F #A53346
triadic
#A5337F #7FA533 #337FA5
tetradic
#A5337F #A59233 #33A559 #3346A5
square
#A5337F #A59233 #33A559 #3346A5
split-complementary
#A5337F #46A533 #33A592
monochromatic
#481637 #76255B #A5337F #C84D9F #D67CB8

Accessibility & contrast

On white

6.21
#A5337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A5337F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5337F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5337F#FFFFFF#000000##FFFFFF
##A5337F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5581
Deuteranopia (green-blind)
#61687C
Tritanopia (blue-blind)
#B03354
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5337f;
/* rgb */ color: rgb(165, 51, 127);
/* oklch */ color: oklch(51.4% 0.169 343.8);
Tailwind
colors: {
  custom: {
    50: '#c374a4',
    500: '#a5337f',
    950: '#000000',
  },
}
SCSS
$custom: #a5337f;
$custom-light: #c374a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5337f",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 320,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.16945,
    "h": 343.8
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#A5337F
secondary
#75BF8D
accent
#DC7C4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A5337F

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

Preview Lab → · Contrast checker → · Palette generator →

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