#A5255D#A5255D

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

Color values

HEX#A5255D
RGBrgb(165, 37, 93)
HSLhsl(334, 63%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 77.6%, 43.6%, 35.3%)
CIE-LABlab(38.05, 54.99, -0.94)
CIE-LCHlch(38.05, 55.00, 359.02°)
OKLaboklab(48.81% 0.169 -0.0018)
OKLCHoklch(48.81% 0.169 359.4)
XYZxyz(18.1558, 10.1152, 11.3502)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5255D #25A56D
analogous
#A5259D #A5255D #A52D25
triadic
#A5255D #5DA525 #255DA5
tetradic
#A5255D #9DA525 #25A56D #2D25A5
square
#A5255D #9DA525 #25A56D #2D25A5
split-complementary
#A5255D #25A52D #259DA5
monochromatic
#410F25 #731A41 #A5255D #D2357A #DD679B

Accessibility & contrast

On white

6.95
#A5255D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5255D
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5255D#FFFFFF#000000##FFFFFF
##A5255D1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5E
Deuteranopia (green-blind)
#65625A
Tritanopia (blue-blind)
#B30D3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5255d;
/* rgb */ color: rgb(165, 37, 93);
/* oklch */ color: oklch(48.8% 0.169 359.4);
Tailwind
colors: {
  custom: {
    50: '#c56d8a',
    500: '#a5255d',
    950: '#000000',
  },
}
SCSS
$custom: #a5255d;
$custom-light: #c56d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5255d",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 333.75,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48811,
    "c": 0.16896,
    "h": 359.4
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#A5255D
secondary
#63C399
accent
#E69E41
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5255D

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

Preview Lab → · Contrast checker → · Palette generator →

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