#A5255B#A5255B

#A5255B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.168 H 0.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A5255B
RGBrgb(165, 37, 91)
HSLhsl(335, 63%, 40%)
HSVhsv(335, 78%, 65%)
CMYKcmyk(0%, 77.6%, 44.8%, 35.3%)
CIE-LABlab(37.99, 54.80, 0.24)
CIE-LCHlch(37.99, 54.80, 0.25°)
OKLaboklab(48.75% 0.1683 0.0012)
OKLCHoklch(48.75% 0.168 0.4)
XYZxyz(18.0684, 10.0802, 10.8897)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5255B #25A56F
analogous
#A5259B #A5255B #A52F25
triadic
#A5255B #5BA525 #255BA5
tetradic
#A5255B #9BA525 #25A56F #2F25A5
square
#A5255B #9BA525 #25A56F #2F25A5
split-complementary
#A5255B #25A52F #259BA5
monochromatic
#410F24 #731A3F #A5255B #D23577 #DD6799

Accessibility & contrast

On white

6.96
#A5255B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A5255B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5255B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5255B#FFFFFF#000000##FFFFFF
##A5255B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5C
Deuteranopia (green-blind)
#656258
Tritanopia (blue-blind)
#B30A3D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5255b;
/* rgb */ color: rgb(165, 37, 91);
/* oklch */ color: oklch(48.7% 0.168 0.4);
Tailwind
colors: {
  custom: {
    50: '#c56c89',
    500: '#a5255b',
    950: '#000000',
  },
}
SCSS
$custom: #a5255b;
$custom-light: #c56c89;
$custom-dark: #000000;
JSON
{
  "hex": "#a5255b",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 334.688,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.16828,
    "h": 0.4
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#A5255B
secondary
#63C39A
accent
#E6A141
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5255B

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

Preview Lab → · Contrast checker → · Palette generator →

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