#A5174C#A5174C

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

Color values

HEX#A5174C
RGBrgb(165, 23, 76)
HSLhsl(338, 76%, 37%)
HSVhsv(338, 86%, 65%)
CMYKcmyk(0%, 86.1%, 53.9%, 35.3%)
CIE-LABlab(36.25, 57.23, 7.38)
CIE-LCHlch(36.25, 57.70, 7.35°)
OKLaboklab(47.33% 0.1749 0.0191)
OKLCHoklch(47.33% 0.176 6.2)
XYZxyz(17.1296, 9.1364, 7.6976)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5174C #17A570
analogous
#A51793 #A5174C #A52917
triadic
#A5174C #4CA517 #174CA5
tetradic
#A5174C #93A517 #17A570 #2917A5
square
#A5174C #93A517 #17A570 #2917A5
split-complementary
#A5174C #17A529 #1793A5
monochromatic
#3A081B #6F1033 #A5174C #DB1E65 #E75088

Accessibility & contrast

On white

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

On black

2.83
#A5174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A5174C#FFFFFF#000000##FFFFFF
##A5174C1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5174c;
/* rgb */ color: rgb(165, 23, 76);
/* oklch */ color: oklch(47.3% 0.176 6.2);
Tailwind
colors: {
  custom: {
    50: '#c6677d',
    500: '#a5174c',
    950: '#000000',
  },
}
SCSS
$custom: #a5174c;
$custom-light: #c6677d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5174c",
  "rgb": {
    "r": 165,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 337.606,
    "s": 75.532,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47328,
    "c": 0.17596,
    "h": 6.2
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#A5174C
secondary
#4FC99B
accent
#F2AC36
background
#FDF6F7
surface
#FAEBEE
border
#D3C6C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5174C

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

Preview Lab → · Contrast checker → · Palette generator →

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