#A5258F#A5258F

#A5258F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 51.0% C 0.196 H 336.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A5258F
RGBrgb(165, 37, 143)
HSLhsl(310, 63%, 40%)
HSVhsv(310, 78%, 65%)
CMYKcmyk(0%, 77.6%, 13.3%, 35.3%)
CIE-LABlab(40.09, 61.14, -29.02)
CIE-LCHlch(40.09, 67.68, 334.61°)
OKLaboklab(50.96% 0.1796 -0.0791)
OKLCHoklch(50.96% 0.196 336.2)
XYZxyz(21.1369, 11.3076, 27.0507)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5258F #25A53B
analogous
#7B25A5 #A5258F #A5254F
triadic
#A5258F #8FA525 #258FA5
tetradic
#A5258F #A57B25 #25A53B #254FA5
square
#A5258F #A57B25 #25A53B #254FA5
split-complementary
#A5258F #4FA525 #25A57B
monochromatic
#410F38 #731A64 #A5258F #D235B7 #DD67C9

Accessibility & contrast

On white

6.44
#A5258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A5258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5258F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5258F#FFFFFF#000000##FFFFFF
##A5258F1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AE2F58
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5258f;
/* rgb */ color: rgb(165, 37, 143);
/* oklch */ color: oklch(51.0% 0.196 336.2);
Tailwind
colors: {
  custom: {
    50: '#c46eb0',
    500: '#a5258f',
    950: '#000000',
  },
}
SCSS
$custom: #a5258f;
$custom-light: #c46eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5258f",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 310.313,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.19628,
    "h": 336.2
  },
  "luminance": 0.11306
}

Semantic roles & 50–950 ramp

primary
#A5258F
secondary
#63C373
accent
#E65E41
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5258F

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

Preview Lab → · Contrast checker → · Palette generator →

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