#A5164B#A5164B

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

Color values

HEX#A5164B
RGBrgb(165, 22, 75)
HSLhsl(338, 76%, 37%)
HSVhsv(338, 87%, 65%)
CMYKcmyk(0%, 86.7%, 54.5%, 35.3%)
CIE-LABlab(36.14, 57.37, 7.89)
CIE-LCHlch(36.14, 57.91, 7.83°)
OKLaboklab(47.25% 0.1752 0.0203)
OKLCHoklch(47.25% 0.176 6.6)
XYZxyz(17.0756, 9.0837, 7.5094)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5164B #16A570
analogous
#A51693 #A5164B #A52816
triadic
#A5164B #4BA516 #164BA5
tetradic
#A5164B #93A516 #16A570 #2816A5
square
#A5164B #93A516 #16A570 #2816A5
split-complementary
#A5164B #16A528 #1693A5
monochromatic
#39081A #6F0F32 #A5164B #DB1D64 #E74E87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5164B#FFFFFF#000000##FFFFFF
##A5164B1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434C
Deuteranopia (green-blind)
#655F48
Tritanopia (blue-blind)
#B4002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a5164b;
/* rgb */ color: rgb(165, 22, 75);
/* oklch */ color: oklch(47.2% 0.176 6.6);
Tailwind
colors: {
  custom: {
    50: '#c6677c',
    500: '#a5164b',
    950: '#000000',
  },
}
SCSS
$custom: #a5164b;
$custom-light: #c6677c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5164b",
  "rgb": {
    "r": 165,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 337.762,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.1764,
    "h": 6.6
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5164B

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

Preview Lab → · Contrast checker → · Palette generator →

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