#A5164D#A5164D

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

Color values

HEX#A5164D
RGBrgb(165, 22, 77)
HSLhsl(337, 76%, 37%)
HSVhsv(337, 87%, 65%)
CMYKcmyk(0%, 86.7%, 53.3%, 35.3%)
CIE-LABlab(36.20, 57.52, 6.67)
CIE-LCHlch(36.20, 57.91, 6.61°)
OKLaboklab(47.3% 0.176 0.0173)
OKLCHoklch(47.3% 0.177 5.6)
XYZxyz(17.1452, 9.1115, 7.8756)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5164D #16A56E
analogous
#A51695 #A5164D #A52616
triadic
#A5164D #4DA516 #164DA5
tetradic
#A5164D #95A516 #16A56E #2616A5
square
#A5164D #95A516 #16A56E #2616A5
split-complementary
#A5164D #16A526 #1695A5
monochromatic
#39081B #6F0F34 #A5164D #DB1D66 #E74E89

Accessibility & contrast

On white

7.44
#A5164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5164D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5164D#FFFFFF#000000##FFFFFF
##A5164D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5164d;
/* rgb */ color: rgb(165, 22, 77);
/* oklch */ color: oklch(47.3% 0.177 5.6);
Tailwind
colors: {
  custom: {
    50: '#c6677e',
    500: '#a5164d',
    950: '#000000',
  },
}
SCSS
$custom: #a5164d;
$custom-light: #c6677e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5164d",
  "rgb": {
    "r": 165,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 336.923,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47301,
    "c": 0.17683,
    "h": 5.6
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#A5164D
secondary
#4EC99A
accent
#F3AA35
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5164D

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

Preview Lab → · Contrast checker → · Palette generator →

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