#A5254B#A5254B

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

Color values

HEX#A5254B
RGBrgb(165, 37, 75)
HSLhsl(342, 63%, 40%)
HSVhsv(342, 78%, 65%)
CMYKcmyk(0%, 77.6%, 54.5%, 35.3%)
CIE-LABlab(37.54, 53.40, 9.84)
CIE-LCHlch(37.54, 54.30, 10.44°)
OKLaboklab(48.27% 0.1624 0.0251)
OKLCHoklch(48.27% 0.164 8.8)
XYZxyz(17.4503, 9.8329, 7.6343)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5254B #25A57F
analogous
#A5258B #A5254B #A53F25
triadic
#A5254B #4BA525 #254BA5
tetradic
#A5254B #8BA525 #25A57F #3F25A5
square
#A5254B #8BA525 #25A57F #3F25A5
split-complementary
#A5254B #25A53F #258BA5
monochromatic
#410F1E #731A34 #A5254B #D23564 #DD678A

Accessibility & contrast

On white

7.08
#A5254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5254B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5254B#FFFFFF#000000##FFFFFF
##A5254B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5254b;
/* rgb */ color: rgb(165, 37, 75);
/* oklch */ color: oklch(48.3% 0.164 8.8);
Tailwind
colors: {
  custom: {
    50: '#c66c7d',
    500: '#a5254b',
    950: '#000000',
  },
}
SCSS
$custom: #a5254b;
$custom-light: #c66c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5254b",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 342.188,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48272,
    "c": 0.16431,
    "h": 8.8
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5254B

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

Preview Lab → · Contrast checker → · Palette generator →

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