#A5258C#A5258C

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

Color values

HEX#A5258C
RGBrgb(165, 37, 140)
HSLhsl(312, 63%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 77.6%, 15.2%, 35.3%)
CIE-LABlab(39.95, 60.71, -27.42)
CIE-LCHlch(39.95, 66.61, 335.70°)
OKLaboklab(50.81% 0.1793 -0.0746)
OKLCHoklch(50.81% 0.194 337.4)
XYZxyz(20.9127, 11.2179, 25.8698)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5258C #25A53E
analogous
#7E25A5 #A5258C #A5254C
triadic
#A5258C #8CA525 #258CA5
tetradic
#A5258C #A57E25 #25A53E #254CA5
square
#A5258C #A57E25 #25A53E #254CA5
split-complementary
#A5258C #4CA525 #25A57E
monochromatic
#410F37 #731A62 #A5258C #D235B3 #DD67C6

Accessibility & contrast

On white

6.48
#A5258C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A5258C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5258C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5258C#FFFFFF#000000##FFFFFF
##A5258C1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#576589
Tritanopia (blue-blind)
#AE2D57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5258c;
/* rgb */ color: rgb(165, 37, 140);
/* oklch */ color: oklch(50.8% 0.194 337.4);
Tailwind
colors: {
  custom: {
    50: '#c46eae',
    500: '#a5258c',
    950: '#000000',
  },
}
SCSS
$custom: #a5258c;
$custom-light: #c46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5258c",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 311.719,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.19423,
    "h": 337.4
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

primary
#A5258C
secondary
#63C376
accent
#E66241
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5258C

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

Preview Lab → · Contrast checker → · Palette generator →

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