#A5268E#A5268E

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

Color values

HEX#A5268E
RGBrgb(165, 38, 142)
HSLhsl(311, 63%, 40%)
HSVhsv(311, 77%, 65%)
CMYKcmyk(0%, 77%, 13.9%, 35.3%)
CIE-LABlab(40.15, 60.70, -28.32)
CIE-LCHlch(40.15, 66.98, 334.99°)
OKLaboklab(50.99% 0.1786 -0.0772)
OKLCHoklch(50.99% 0.195 336.6)
XYZxyz(21.0930, 11.3405, 26.6640)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5268E #26A53D
analogous
#7D26A5 #A5268E #A5264F
triadic
#A5268E #8EA526 #268EA5
tetradic
#A5268E #A57D26 #26A53D #264FA5
square
#A5268E #A57D26 #26A53D #264FA5
split-complementary
#A5268E #4FA526 #26A57D
monochromatic
#420F38 #731B63 #A5268E #D137B5 #DC69C8

Accessibility & contrast

On white

6.43
#A5268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5268E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5268E#FFFFFF#000000##FFFFFF
##A5268E1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#AE2F58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5268e;
/* rgb */ color: rgb(165, 38, 142);
/* oklch */ color: oklch(51.0% 0.195 336.6);
Tailwind
colors: {
  custom: {
    50: '#c46faf',
    500: '#a5268e',
    950: '#000000',
  },
}
SCSS
$custom: #a5268e;
$custom-light: #c46faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a5268e",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 310.866,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.19458,
    "h": 336.6
  },
  "luminance": 0.11339
}

Semantic roles & 50–950 ramp

primary
#A5268E
secondary
#64C375
accent
#E66042
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5268E

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

Preview Lab → · Contrast checker → · Palette generator →

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