#A5255A#A5255A

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

Color values

HEX#A5255A
RGBrgb(165, 37, 90)
HSLhsl(335, 63%, 40%)
HSVhsv(335, 78%, 65%)
CMYKcmyk(0%, 77.6%, 45.5%, 35.3%)
CIE-LABlab(37.96, 54.70, 0.84)
CIE-LCHlch(37.96, 54.71, 0.88°)
OKLaboklab(48.71% 0.1679 0.0028)
OKLCHoklch(48.71% 0.168 0.9)
XYZxyz(18.0255, 10.0631, 10.6640)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5255A #25A570
analogous
#A5259A #A5255A #A53025
triadic
#A5255A #5AA525 #255AA5
tetradic
#A5255A #9AA525 #25A570 #3025A5
square
#A5255A #9AA525 #25A570 #3025A5
split-complementary
#A5255A #25A530 #259AA5
monochromatic
#410F23 #731A3F #A5255A #D23576 #DD6798

Accessibility & contrast

On white

6.97
#A5255A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A5255A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5255A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5255A#FFFFFF#000000##FFFFFF
##A5255A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5B
Deuteranopia (green-blind)
#656257
Tritanopia (blue-blind)
#B3093C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5255a;
/* rgb */ color: rgb(165, 37, 90);
/* oklch */ color: oklch(48.7% 0.168 0.9);
Tailwind
colors: {
  custom: {
    50: '#c56c88',
    500: '#a5255a',
    950: '#000000',
  },
}
SCSS
$custom: #a5255a;
$custom-light: #c56c88;
$custom-dark: #000000;
JSON
{
  "hex": "#a5255a",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 335.156,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48712,
    "c": 0.16795,
    "h": 0.9
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#A5255A
secondary
#63C39B
accent
#E6A241
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5255A

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

Preview Lab → · Contrast checker → · Palette generator →

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