#A5255C#A5255C

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

Color values

HEX#A5255C
RGBrgb(165, 37, 92)
HSLhsl(334, 63%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 77.6%, 44.2%, 35.3%)
CIE-LABlab(38.02, 54.89, -0.35)
CIE-LCHlch(38.02, 54.89, 359.64°)
OKLaboklab(48.78% 0.1686 -0.0003)
OKLCHoklch(48.78% 0.169 359.9)
XYZxyz(18.1118, 10.0976, 11.1184)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5255C #25A56E
analogous
#A5259C #A5255C #A52E25
triadic
#A5255C #5CA525 #255CA5
tetradic
#A5255C #9CA525 #25A56E #2E25A5
square
#A5255C #9CA525 #25A56E #2E25A5
split-complementary
#A5255C #25A52E #259CA5
monochromatic
#410F24 #731A40 #A5255C #D23579 #DD679A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5255C#FFFFFF#000000##FFFFFF
##A5255C1.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)
#424A5D
Deuteranopia (green-blind)
#656259
Tritanopia (blue-blind)
#B30C3D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5255c;
/* rgb */ color: rgb(165, 37, 92);
/* oklch */ color: oklch(48.8% 0.169 359.9);
Tailwind
colors: {
  custom: {
    50: '#c56d8a',
    500: '#a5255c',
    950: '#000000',
  },
}
SCSS
$custom: #a5255c;
$custom-light: #c56d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5255c",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 334.219,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48777,
    "c": 0.16862,
    "h": 359.9
  },
  "luminance": 0.10095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5255C

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

Preview Lab → · Contrast checker → · Palette generator →

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