#A5258B#A5258B

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

Color values

HEX#A5258B
RGBrgb(165, 37, 139)
HSLhsl(312, 63%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 77.6%, 15.8%, 35.3%)
CIE-LABlab(39.90, 60.57, -26.88)
CIE-LCHlch(39.90, 66.26, 336.07°)
OKLaboklab(50.76% 0.1792 -0.073)
OKLCHoklch(50.76% 0.194 337.8)
XYZxyz(20.8393, 11.1886, 25.4832)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5258B #25A53F
analogous
#7F25A5 #A5258B #A5254B
triadic
#A5258B #8BA525 #258BA5
tetradic
#A5258B #A57F25 #25A53F #254BA5
square
#A5258B #A57F25 #25A53F #254BA5
split-complementary
#A5258B #4BA525 #25A57F
monochromatic
#410F37 #731A61 #A5258B #D235B2 #DD67C5

Accessibility & contrast

On white

6.49
#A5258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5258B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5258B#FFFFFF#000000##FFFFFF
##A5258B1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#AE2D56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5258b;
/* rgb */ color: rgb(165, 37, 139);
/* oklch */ color: oklch(50.8% 0.194 337.8);
Tailwind
colors: {
  custom: {
    50: '#c46ead',
    500: '#a5258b',
    950: '#000000',
  },
}
SCSS
$custom: #a5258b;
$custom-light: #c46ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a5258b",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 312.188,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50757,
    "c": 0.19355,
    "h": 337.8
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5258B

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

Preview Lab → · Contrast checker → · Palette generator →

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