#A5164E#A5164E

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

Color values

HEX#A5164E
RGBrgb(165, 22, 78)
HSLhsl(337, 76%, 37%)
HSVhsv(337, 87%, 65%)
CMYKcmyk(0%, 86.7%, 52.7%, 35.3%)
CIE-LABlab(36.23, 57.60, 6.06)
CIE-LCHlch(36.23, 57.92, 6.00°)
OKLaboklab(47.33% 0.1764 0.0159)
OKLCHoklch(47.33% 0.177 5.1)
XYZxyz(17.1807, 9.1257, 8.0630)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5164E #16A56D
analogous
#A51696 #A5164E #A52516
triadic
#A5164E #4EA516 #164EA5
tetradic
#A5164E #96A516 #16A56D #2516A5
square
#A5164E #96A516 #16A56D #2516A5
split-complementary
#A5164E #16A525 #1696A5
monochromatic
#39081B #6F0F34 #A5164E #DB1D68 #E74E8A

Accessibility & contrast

On white

7.43
#A5164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5164E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5164E#FFFFFF#000000##FFFFFF
##A5164E1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F434F
Deuteranopia (green-blind)
#645F4B
Tritanopia (blue-blind)
#B40031
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a5164e;
/* rgb */ color: rgb(165, 22, 78);
/* oklch */ color: oklch(47.3% 0.177 5.1);
Tailwind
colors: {
  custom: {
    50: '#c6677f',
    500: '#a5164e',
    950: '#000000',
  },
}
SCSS
$custom: #a5164e;
$custom-light: #c6677f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5164e",
  "rgb": {
    "r": 165,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 336.503,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.17707,
    "h": 5.1
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#A5164E
secondary
#4EC999
accent
#F3A935
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A5164E

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

Preview Lab → · Contrast checker → · Palette generator →

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