#A5258A#A5258A

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

Color values

HEX#A5258A
RGBrgb(165, 37, 138)
HSLhsl(313, 63%, 40%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 77.6%, 16.4%, 35.3%)
CIE-LABlab(39.85, 60.42, -26.34)
CIE-LCHlch(39.85, 65.92, 336.44°)
OKLaboklab(50.71% 0.1791 -0.0715)
OKLCHoklch(50.71% 0.193 338.2)
XYZxyz(20.7666, 11.1595, 25.1001)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5258A #25A540
analogous
#8025A5 #A5258A #A5254A
triadic
#A5258A #8AA525 #258AA5
tetradic
#A5258A #A58025 #25A540 #254AA5
square
#A5258A #A58025 #25A540 #254AA5
split-complementary
#A5258A #4AA525 #25A580
monochromatic
#410F36 #731A60 #A5258A #D235B1 #DD67C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5258A#FFFFFF#000000##FFFFFF
##A5258A1.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)
#2C518D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#AE2C55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5258a;
/* rgb */ color: rgb(165, 37, 138);
/* oklch */ color: oklch(50.7% 0.193 338.2);
Tailwind
colors: {
  custom: {
    50: '#c46eac',
    500: '#a5258a',
    950: '#000000',
  },
}
SCSS
$custom: #a5258a;
$custom-light: #c46eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a5258a",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 312.656,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.19288,
    "h": 338.2
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#A5258A
secondary
#63C377
accent
#E66441
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5258A

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

Preview Lab → · Contrast checker → · Palette generator →

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