#A5248C#A5248C

#A5248C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.195 H 337.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A5248C
RGBrgb(165, 36, 140)
HSLhsl(312, 64%, 39%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 78.2%, 15.2%, 35.3%)
CIE-LABlab(39.84, 61.00, -27.58)
CIE-LCHlch(39.84, 66.95, 335.68°)
OKLaboklab(50.74% 0.1802 -0.075)
OKLCHoklch(50.74% 0.195 337.4)
XYZxyz(20.8820, 11.1565, 25.8595)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5248C #24A53D
analogous
#7E24A5 #A5248C #A5244C
triadic
#A5248C #8CA524 #248CA5
tetradic
#A5248C #A57E24 #24A53D #244CA5
square
#A5248C #A57E24 #24A53D #244CA5
split-complementary
#A5248C #4CA524 #24A57E
monochromatic
#410E37 #731961 #A5248C #D334B4 #DE66C6

Accessibility & contrast

On white

6.50
#A5248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A5248C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5248C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5248C#FFFFFF#000000##FFFFFF
##A5248C1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29518F
Deuteranopia (green-blind)
#566589
Tritanopia (blue-blind)
#AE2C56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5248c;
/* rgb */ color: rgb(165, 36, 140);
/* oklch */ color: oklch(50.7% 0.195 337.4);
Tailwind
colors: {
  custom: {
    50: '#c46eae',
    500: '#a5248c',
    950: '#000000',
  },
}
SCSS
$custom: #a5248c;
$custom-light: #c46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5248c",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 311.628,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.19521,
    "h": 337.4
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#A5248C
secondary
#62C375
accent
#E76141
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5248C

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

Preview Lab → · Contrast checker → · Palette generator →

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