#A5256D#A5256D

#A5256D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.176 H 351.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A5256D
RGBrgb(165, 37, 109)
HSLhsl(326, 63%, 40%)
HSVhsv(326, 78%, 65%)
CMYKcmyk(0%, 77.6%, 33.9%, 35.3%)
CIE-LABlab(38.60, 56.70, -10.24)
CIE-LCHlch(38.60, 57.61, 349.76°)
OKLaboklab(49.4% 0.1737 -0.0265)
OKLCHoklch(49.4% 0.176 351.3)
XYZxyz(18.9401, 10.4289, 15.4806)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5256D #25A55D
analogous
#9D25A5 #A5256D #A5252D
triadic
#A5256D #6DA525 #256DA5
tetradic
#A5256D #A59D25 #25A55D #252DA5
square
#A5256D #A59D25 #25A55D #252DA5
split-complementary
#A5256D #2DA525 #25A59D
monochromatic
#410F2B #731A4C #A5256D #D2358D #DD67AA

Accessibility & contrast

On white

6.81
#A5256D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A5256D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5256D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5256D#FFFFFF#000000##FFFFFF
##A5256D1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6F
Deuteranopia (green-blind)
#61636A
Tritanopia (blue-blind)
#B21A46
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5256d;
/* rgb */ color: rgb(165, 37, 109);
/* oklch */ color: oklch(49.4% 0.176 351.3);
Tailwind
colors: {
  custom: {
    50: '#c46d96',
    500: '#a5256d',
    950: '#000000',
  },
}
SCSS
$custom: #a5256d;
$custom-light: #c46d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a5256d",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 326.25,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49396,
    "c": 0.17576,
    "h": 351.3
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#A5256D
secondary
#63C38D
accent
#E68A41
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5256D

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

Preview Lab → · Contrast checker → · Palette generator →

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