#A5254C#A5254C

#A5254C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.164 H 8.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A5254C
RGBrgb(165, 37, 76)
HSLhsl(342, 63%, 40%)
HSVhsv(342, 78%, 65%)
CMYKcmyk(0%, 77.6%, 53.9%, 35.3%)
CIE-LABlab(37.57, 53.48, 9.24)
CIE-LCHlch(37.57, 54.27, 9.80°)
OKLaboklab(48.3% 0.1628 0.0236)
OKLCHoklch(48.3% 0.164 8.3)
XYZxyz(17.4848, 9.8467, 7.8160)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5254C #25A57E
analogous
#A5258C #A5254C #A53E25
triadic
#A5254C #4CA525 #254CA5
tetradic
#A5254C #8CA525 #25A57E #3E25A5
square
#A5254C #8CA525 #25A57E #3E25A5
split-complementary
#A5254C #25A53E #258CA5
monochromatic
#410F1E #731A35 #A5254C #D23565 #DD678B

Accessibility & contrast

On white

7.07
#A5254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A5254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5254C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5254C#FFFFFF#000000##FFFFFF
##A5254C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5254c;
/* rgb */ color: rgb(165, 37, 76);
/* oklch */ color: oklch(48.3% 0.164 8.3);
Tailwind
colors: {
  custom: {
    50: '#c66c7d',
    500: '#a5254c',
    950: '#000000',
  },
}
SCSS
$custom: #a5254c;
$custom-light: #c66c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5254c",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 341.719,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.16448,
    "h": 8.3
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#A5254C
secondary
#63C3A6
accent
#E6B441
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140809
muted
#827B7B

Preview Lab

Preview with #A5254C

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

Preview Lab → · Contrast checker → · Palette generator →

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