#A5258E#A5258E

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

Color values

HEX#A5258E
RGBrgb(165, 37, 142)
HSLhsl(311, 63%, 40%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 77.6%, 13.9%, 35.3%)
CIE-LABlab(40.04, 61.00, -28.48)
CIE-LCHlch(40.04, 67.32, 334.97°)
OKLaboklab(50.91% 0.1795 -0.0776)
OKLCHoklch(50.91% 0.196 336.6)
XYZxyz(21.0615, 11.2774, 26.6535)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5258E #25A53C
analogous
#7C25A5 #A5258E #A5254E
triadic
#A5258E #8EA525 #258EA5
tetradic
#A5258E #A57C25 #25A53C #254EA5
square
#A5258E #A57C25 #25A53C #254EA5
split-complementary
#A5258E #4EA525 #25A57C
monochromatic
#410F38 #731A63 #A5258E #D235B6 #DD67C8

Accessibility & contrast

On white

6.45
#A5258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5258E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5258E#FFFFFF#000000##FFFFFF
##A5258E1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#AE2E58
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5258e;
/* rgb */ color: rgb(165, 37, 142);
/* oklch */ color: oklch(50.9% 0.196 336.6);
Tailwind
colors: {
  custom: {
    50: '#c46eaf',
    500: '#a5258e',
    950: '#000000',
  },
}
SCSS
$custom: #a5258e;
$custom-light: #c46eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a5258e",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 310.781,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50911,
    "c": 0.19558,
    "h": 336.6
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#A5258E
secondary
#63C374
accent
#E65F41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5258E

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

Preview Lab → · Contrast checker → · Palette generator →

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