#A5256E#A5256E

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

Color values

HEX#A5256E
RGBrgb(165, 37, 110)
HSLhsl(326, 63%, 40%)
HSVhsv(326, 78%, 65%)
CMYKcmyk(0%, 77.6%, 33.3%, 35.3%)
CIE-LABlab(38.64, 56.81, -10.82)
CIE-LCHlch(38.64, 57.83, 349.22°)
OKLaboklab(49.44% 0.174 -0.0281)
OKLCHoklch(49.44% 0.176 350.8)
XYZxyz(18.9942, 10.4505, 15.7657)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5256E #25A55C
analogous
#9C25A5 #A5256E #A5252E
triadic
#A5256E #6EA525 #256EA5
tetradic
#A5256E #A59C25 #25A55C #252EA5
square
#A5256E #A59C25 #25A55C #252EA5
split-complementary
#A5256E #2EA525 #25A59C
monochromatic
#410F2B #731A4D #A5256E #D2358F #DD67AA

Accessibility & contrast

On white

6.80
#A5256E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5256E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5256E#FFFFFF#000000##FFFFFF
##A5256E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C70
Deuteranopia (green-blind)
#61636B
Tritanopia (blue-blind)
#B21B46
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5256e;
/* rgb */ color: rgb(165, 37, 110);
/* oklch */ color: oklch(49.4% 0.176 350.8);
Tailwind
colors: {
  custom: {
    50: '#c46d97',
    500: '#a5256e',
    950: '#000000',
  },
}
SCSS
$custom: #a5256e;
$custom-light: #c46d97;
$custom-dark: #000000;
JSON
{
  "hex": "#a5256e",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 325.781,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49436,
    "c": 0.17626,
    "h": 350.8
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#A5256E
secondary
#63C38C
accent
#E68841
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5256E

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

Preview Lab → · Contrast checker → · Palette generator →

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