#A5164C#A5164C

#A5164C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.177 H 6.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A5164C
RGBrgb(165, 22, 76)
HSLhsl(337, 76%, 37%)
HSVhsv(337, 87%, 65%)
CMYKcmyk(0%, 86.7%, 53.9%, 35.3%)
CIE-LABlab(36.17, 57.44, 7.28)
CIE-LCHlch(36.17, 57.90, 7.22°)
OKLaboklab(47.27% 0.1756 0.0188)
OKLCHoklch(47.27% 0.177 6.1)
XYZxyz(17.1101, 9.0975, 7.6911)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5164C #16A56F
analogous
#A51694 #A5164C #A52816
triadic
#A5164C #4CA516 #164CA5
tetradic
#A5164C #94A516 #16A56F #2816A5
square
#A5164C #94A516 #16A56F #2816A5
split-complementary
#A5164C #16A528 #1694A5
monochromatic
#39081A #6F0F33 #A5164C #DB1D65 #E74E88

Accessibility & contrast

On white

7.45
#A5164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#A5164C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5164C
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5164C#FFFFFF#000000##FFFFFF
##A5164C1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434D
Deuteranopia (green-blind)
#645F49
Tritanopia (blue-blind)
#B40030
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a5164c;
/* rgb */ color: rgb(165, 22, 76);
/* oklch */ color: oklch(47.3% 0.177 6.1);
Tailwind
colors: {
  custom: {
    50: '#c6677d',
    500: '#a5164c',
    950: '#000000',
  },
}
SCSS
$custom: #a5164c;
$custom-light: #c6677d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5164c",
  "rgb": {
    "r": 165,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 337.343,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47273,
    "c": 0.17662,
    "h": 6.1
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#A5164C
secondary
#4EC99B
accent
#F3AB35
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5164C

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

Preview Lab → · Contrast checker → · Palette generator →

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