#A24D8A#A24D8A

#A24D8A is a mid, vivid pink. Relative luminance 0.148; OKLCH L 54.7% C 0.135 H 339.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A24D8A
RGBrgb(162, 77, 138)
HSLhsl(317, 36%, 47%)
HSVhsv(317, 52%, 64%)
CMYKcmyk(0%, 52.5%, 14.8%, 36.5%)
CIE-LABlab(45.39, 43.02, -17.80)
CIE-LCHlch(45.39, 46.56, 337.52°)
OKLaboklab(54.68% 0.1265 -0.0478)
OKLCHoklch(54.68% 0.135 339.3)
XYZxyz(22.1419, 14.8258, 25.7353)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24D8A #4DA265
analogous
#904DA2 #A24D8A #A24D60
triadic
#A24D8A #8AA24D #4D8AA2
tetradic
#A24D8A #A2904D #4DA265 #4D60A2
square
#A24D8A #A2904D #4DA265 #4D60A2
split-complementary
#A24D8A #60A24D #4DA290
monochromatic
#4F2643 #793967 #A24D8A #BB71A6 #CF9AC0

Accessibility & contrast

On white

5.30
#A24D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A24D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24D8A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24D8A#FFFFFF#000000##FFFFFF
##A24D8A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638C
Deuteranopia (green-blind)
#687088
Tritanopia (blue-blind)
#AA4F65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a24d8a;
/* rgb */ color: rgb(162, 77, 138);
/* oklch */ color: oklch(54.7% 0.135 339.3);
Tailwind
colors: {
  custom: {
    50: '#c082ac',
    500: '#a24d8a',
    950: '#000000',
  },
}
SCSS
$custom: #a24d8a;
$custom-light: #c082ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a24d8a",
  "rgb": {
    "r": 162,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 316.941,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.13521,
    "h": 339.3
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#A24D8A
secondary
#8FBC9C
accent
#CC7C5C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #A24D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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