#A5258D#A5258D

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

Color values

HEX#A5258D
RGBrgb(165, 37, 141)
HSLhsl(311, 63%, 40%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 77.6%, 14.5%, 35.3%)
CIE-LABlab(39.99, 60.85, -27.95)
CIE-LCHlch(39.99, 66.96, 335.33°)
OKLaboklab(50.86% 0.1794 -0.0761)
OKLCHoklch(50.86% 0.195 337)
XYZxyz(20.9867, 11.2475, 26.2599)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5258D #25A53D
analogous
#7D25A5 #A5258D #A5254D
triadic
#A5258D #8DA525 #258DA5
tetradic
#A5258D #A57D25 #25A53D #254DA5
square
#A5258D #A57D25 #25A53D #254DA5
split-complementary
#A5258D #4DA525 #25A57D
monochromatic
#410F38 #731A62 #A5258D #D235B4 #DD67C7

Accessibility & contrast

On white

6.46
#A5258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A5258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5258D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5258D#FFFFFF#000000##FFFFFF
##A5258D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AE2E57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5258d;
/* rgb */ color: rgb(165, 37, 141);
/* oklch */ color: oklch(50.9% 0.195 337.0);
Tailwind
colors: {
  custom: {
    50: '#c46eae',
    500: '#a5258d',
    950: '#000000',
  },
}
SCSS
$custom: #a5258d;
$custom-light: #c46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5258d",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 311.25,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.1949,
    "h": 337
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#A5258D
secondary
#63C375
accent
#E66041
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5258D

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

Preview Lab → · Contrast checker → · Palette generator →

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