#A5248A#A5248A

#A5248A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.194 H 338.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A5248A
RGBrgb(165, 36, 138)
HSLhsl(313, 64%, 39%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 78.2%, 16.4%, 35.3%)
CIE-LABlab(39.75, 60.72, -26.50)
CIE-LCHlch(39.75, 66.25, 336.42°)
OKLaboklab(50.63% 0.18 -0.072)
OKLCHoklch(50.63% 0.194 338.2)
XYZxyz(20.7359, 11.0981, 25.0899)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5248A #24A53F
analogous
#8024A5 #A5248A #A5244A
triadic
#A5248A #8AA524 #248AA5
tetradic
#A5248A #A58024 #24A53F #244AA5
square
#A5248A #A58024 #24A53F #244AA5
split-complementary
#A5248A #4AA524 #24A580
monochromatic
#410E36 #731960 #A5248A #D334B1 #DE66C5

Accessibility & contrast

On white

6.52
#A5248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A5248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5248A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5248A#FFFFFF#000000##FFFFFF
##A5248A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#AE2B55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5248a;
/* rgb */ color: rgb(165, 36, 138);
/* oklch */ color: oklch(50.6% 0.194 338.2);
Tailwind
colors: {
  custom: {
    50: '#c46eac',
    500: '#a5248a',
    950: '#000000',
  },
}
SCSS
$custom: #a5248a;
$custom-light: #c46eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a5248a",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 312.558,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.19387,
    "h": 338.2
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#A5248A
secondary
#62C376
accent
#E76341
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5248A

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

Preview Lab → · Contrast checker → · Palette generator →

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