#A74A8A#A74A8A

#A74A8A is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.0% C 0.144 H 341.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A74A8A
RGBrgb(167, 74, 138)
HSLhsl(319, 39%, 47%)
HSVhsv(319, 56%, 65%)
CMYKcmyk(0%, 55.7%, 17.4%, 34.5%)
CIE-LABlab(45.57, 46.09, -17.48)
CIE-LCHlch(45.57, 49.29, 339.23°)
OKLaboklab(54.95% 0.1366 -0.0468)
OKLCHoklch(54.95% 0.144 341.1)
XYZxyz(22.9730, 14.9499, 25.7155)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74A8A #4AA767
analogous
#964AA7 #A74A8A #A74A5B
triadic
#A74A8A #8AA74A #4A8AA7
tetradic
#A74A8A #A7964A #4AA767 #4A5BA7
square
#A74A8A #A7964A #4AA767 #4A5BA7
split-complementary
#A74A8A #5BA74A #4AA796
monochromatic
#522444 #7D3767 #A74A8A #BF6FA6 #D299C0

Accessibility & contrast

On white

5.26
#A74A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A74A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A74A8A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74A8A#FFFFFF#000000##FFFFFF
##A74A8A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628C
Deuteranopia (green-blind)
#6A7188
Tritanopia (blue-blind)
#B04B64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a74a8a;
/* rgb */ color: rgb(167, 74, 138);
/* oklch */ color: oklch(55.0% 0.144 341.1);
Tailwind
colors: {
  custom: {
    50: '#c481ac',
    500: '#a74a8a',
    950: '#000000',
  },
}
SCSS
$custom: #a74a8a;
$custom-light: #c481ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a74a8a",
  "rgb": {
    "r": 167,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 318.71,
    "s": 38.589,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54951,
    "c": 0.14434,
    "h": 341.1
  },
  "luminance": 0.14948
}

Semantic roles & 50–950 ramp

primary
#A74A8A
secondary
#8EBE9D
accent
#CF7E59
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #A74A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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