#A5164A#A5164A

#A5164A is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.176 H 7.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A5164A
RGBrgb(165, 22, 74)
HSLhsl(338, 76%, 37%)
HSVhsv(338, 87%, 65%)
CMYKcmyk(0%, 86.7%, 55.2%, 35.3%)
CIE-LABlab(36.12, 57.29, 8.50)
CIE-LCHlch(36.12, 57.92, 8.44°)
OKLaboklab(47.22% 0.1749 0.0218)
OKLCHoklch(47.22% 0.176 7.1)
XYZxyz(17.0417, 9.0701, 7.3306)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5164A #16A571
analogous
#A51692 #A5164A #A52A16
triadic
#A5164A #4AA516 #164AA5
tetradic
#A5164A #92A516 #16A571 #2A16A5
square
#A5164A #92A516 #16A571 #2A16A5
split-complementary
#A5164A #16A52A #1692A5
monochromatic
#39081A #6F0F32 #A5164A #DB1D62 #E74E86

Accessibility & contrast

On white

7.46
#A5164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#A5164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5164A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5164A#FFFFFF#000000##FFFFFF
##A5164A1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#655F47
Tritanopia (blue-blind)
#B5002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a5164a;
/* rgb */ color: rgb(165, 22, 74);
/* oklch */ color: oklch(47.2% 0.176 7.1);
Tailwind
colors: {
  custom: {
    50: '#c6677c',
    500: '#a5164a',
    950: '#000000',
  },
}
SCSS
$custom: #a5164a;
$custom-light: #c6677c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5164a",
  "rgb": {
    "r": 165,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 338.182,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.1762,
    "h": 7.1
  },
  "luminance": 0.09068
}

Semantic roles & 50–950 ramp

primary
#A5164A
secondary
#4EC99C
accent
#F3AE35
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5164A

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

Preview Lab → · Contrast checker → · Palette generator →

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