#A5254A#A5254A

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

Color values

HEX#A5254A
RGBrgb(165, 37, 74)
HSLhsl(343, 63%, 40%)
HSVhsv(343, 78%, 65%)
CMYKcmyk(0%, 77.6%, 55.2%, 35.3%)
CIE-LABlab(37.52, 53.32, 10.45)
CIE-LCHlch(37.52, 54.33, 11.09°)
OKLaboklab(48.25% 0.162 0.0265)
OKLCHoklch(48.25% 0.164 9.3)
XYZxyz(17.4163, 9.8194, 7.4555)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5254A #25A580
analogous
#A5258A #A5254A #A54025
triadic
#A5254A #4AA525 #254AA5
tetradic
#A5254A #8AA525 #25A580 #4025A5
square
#A5254A #8AA525 #25A580 #4025A5
split-complementary
#A5254A #25A540 #258AA5
monochromatic
#410F1D #731A34 #A5254A #D23563 #DD6789

Accessibility & contrast

On white

7.09
#A5254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A5254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5254A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5254A#FFFFFF#000000##FFFFFF
##A5254A1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#686247
Tritanopia (blue-blind)
#B40035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5254a;
/* rgb */ color: rgb(165, 37, 74);
/* oklch */ color: oklch(48.2% 0.164 9.3);
Tailwind
colors: {
  custom: {
    50: '#c66c7c',
    500: '#a5254a',
    950: '#000000',
  },
}
SCSS
$custom: #a5254a;
$custom-light: #c66c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5254a",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 342.656,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48246,
    "c": 0.16415,
    "h": 9.3
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#A5254A
secondary
#63C3A7
accent
#E6B741
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B

Preview Lab

Preview with #A5254A

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

Preview Lab → · Contrast checker → · Palette generator →

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