#A5256F#A5256F

#A5256F is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.177 H 350.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A5256F
RGBrgb(165, 37, 111)
HSLhsl(325, 63%, 40%)
HSVhsv(325, 78%, 65%)
CMYKcmyk(0%, 77.6%, 32.7%, 35.3%)
CIE-LABlab(38.68, 56.93, -11.39)
CIE-LCHlch(38.68, 58.05, 348.69°)
OKLaboklab(49.48% 0.1742 -0.0297)
OKLCHoklch(49.48% 0.177 350.3)
XYZxyz(19.0489, 10.4724, 16.0541)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5256F #25A55B
analogous
#9B25A5 #A5256F #A5252F
triadic
#A5256F #6FA525 #256FA5
tetradic
#A5256F #A59B25 #25A55B #252FA5
square
#A5256F #A59B25 #25A55B #252FA5
split-complementary
#A5256F #2FA525 #25A59B
monochromatic
#410F2C #731A4D #A5256F #D23590 #DD67AB

Accessibility & contrast

On white

6.79
#A5256F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5256F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5256F#FFFFFF#000000##FFFFFF
##A5256F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D71
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#B21B47
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5256f;
/* rgb */ color: rgb(165, 37, 111);
/* oklch */ color: oklch(49.5% 0.177 350.3);
Tailwind
colors: {
  custom: {
    50: '#c46d98',
    500: '#a5256f',
    950: '#000000',
  },
}
SCSS
$custom: #a5256f;
$custom-light: #c46d98;
$custom-dark: #000000;
JSON
{
  "hex": "#a5256f",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 325.313,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.17676,
    "h": 350.3
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#A5256F
secondary
#63C38B
accent
#E68741
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5256F

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

Preview Lab → · Contrast checker → · Palette generator →

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