#A5247F#A5247F

#A5247F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.187 H 342.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A5247F
RGBrgb(165, 36, 127)
HSLhsl(318, 64%, 39%)
HSVhsv(318, 78%, 65%)
CMYKcmyk(0%, 78.2%, 23%, 35.3%)
CIE-LABlab(39.23, 59.22, -20.52)
CIE-LCHlch(39.23, 62.67, 340.89°)
OKLaboklab(50.1% 0.1785 -0.055)
OKLCHoklch(50.1% 0.187 342.9)
XYZxyz(19.9794, 10.7955, 21.1061)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5247F #24A54A
analogous
#8A24A5 #A5247F #A5243F
triadic
#A5247F #7FA524 #247FA5
tetradic
#A5247F #A58A24 #24A54A #243FA5
square
#A5247F #A58A24 #24A54A #243FA5
split-complementary
#A5247F #3FA524 #24A58A
monochromatic
#410E32 #731958 #A5247F #D334A4 #DE66BA

Accessibility & contrast

On white

6.65
#A5247F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A5247F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5247F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5247F#FFFFFF#000000##FFFFFF
##A5247F1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#B0254F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5247f;
/* rgb */ color: rgb(165, 36, 127);
/* oklch */ color: oklch(50.1% 0.187 342.9);
Tailwind
colors: {
  custom: {
    50: '#c46da4',
    500: '#a5247f',
    950: '#000000',
  },
}
SCSS
$custom: #a5247f;
$custom-light: #c46da4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5247f",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 317.674,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.18681,
    "h": 342.9
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#A5247F
secondary
#62C37E
accent
#E77241
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5247F

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

Preview Lab → · Contrast checker → · Palette generator →

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