#A24787#A24787

#A24787 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.7% C 0.143 H 340.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A24787
RGBrgb(162, 71, 135)
HSLhsl(318, 39%, 46%)
HSVhsv(318, 56%, 64%)
CMYKcmyk(0%, 56.2%, 16.7%, 36.5%)
CIE-LABlab(44.15, 45.53, -17.90)
CIE-LCHlch(44.15, 48.93, 338.53°)
OKLaboklab(53.71% 0.1347 -0.048)
OKLCHoklch(53.71% 0.143 340.4)
XYZxyz(21.5271, 13.9389, 24.4737)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24787 #47A262
analogous
#8F47A2 #A24787 #A24759
triadic
#A24787 #87A247 #4787A2
tetradic
#A24787 #A28F47 #47A262 #4759A2
square
#A24787 #A28F47 #47A262 #4759A2
split-complementary
#A24787 #59A247 #47A28F
monochromatic
#4D2240 #773464 #A24787 #BD69A4 #D094BE

Accessibility & contrast

On white

5.54
#A24787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A24787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24787
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24787#FFFFFF#000000##FFFFFF
##A247871.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#AB4961
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a24787;
/* rgb */ color: rgb(162, 71, 135);
/* oklch */ color: oklch(53.7% 0.143 340.4);
Tailwind
colors: {
  custom: {
    50: '#c07eaa',
    500: '#a24787',
    950: '#000000',
  },
}
SCSS
$custom: #a24787;
$custom-light: #c07eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a24787",
  "rgb": {
    "r": 162,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 317.802,
    "s": 39.056,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.14295,
    "h": 340.4
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#A24787
secondary
#89BC98
accent
#CF7C59
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A24787

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

Preview Lab → · Contrast checker → · Palette generator →

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