#A5268F#A5268F

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

Color values

HEX#A5268F
RGBrgb(165, 38, 143)
HSLhsl(310, 63%, 40%)
HSVhsv(310, 77%, 65%)
CMYKcmyk(0%, 77%, 13.3%, 35.3%)
CIE-LABlab(40.20, 60.84, -28.85)
CIE-LCHlch(40.20, 67.34, 334.63°)
OKLaboklab(51.04% 0.1787 -0.0787)
OKLCHoklch(51.04% 0.195 336.2)
XYZxyz(21.1684, 11.3707, 27.0612)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5268F #26A53C
analogous
#7C26A5 #A5268F #A5264F
triadic
#A5268F #8FA526 #268FA5
tetradic
#A5268F #A57C26 #26A53C #264FA5
square
#A5268F #A57C26 #26A53C #264FA5
split-complementary
#A5268F #4FA526 #26A57C
monochromatic
#420F39 #731B64 #A5268F #D137B6 #DC69C8

Accessibility & contrast

On white

6.41
#A5268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A5268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5268F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5268F#FFFFFF#000000##FFFFFF
##A5268F1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#56658C
Tritanopia (blue-blind)
#AE3058
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5268f;
/* rgb */ color: rgb(165, 38, 143);
/* oklch */ color: oklch(51.0% 0.195 336.2);
Tailwind
colors: {
  custom: {
    50: '#c46fb0',
    500: '#a5268f',
    950: '#000000',
  },
}
SCSS
$custom: #a5268f;
$custom-light: #c46fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5268f",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 310.394,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.19528,
    "h": 336.2
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#A5268F
secondary
#64C375
accent
#E65E42
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5268F

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

Preview Lab → · Contrast checker → · Palette generator →

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