#A5294F#A5294F

#A5294F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.161 H 7.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A5294F
RGBrgb(165, 41, 79)
HSLhsl(342, 60%, 40%)
HSVhsv(342, 75%, 65%)
CMYKcmyk(0%, 75.2%, 52.1%, 35.3%)
CIE-LABlab(38.11, 52.40, 8.09)
CIE-LCHlch(38.11, 53.02, 8.77°)
OKLaboklab(48.73% 0.1597 0.0209)
OKLCHoklch(48.73% 0.161 7.5)
XYZxyz(17.7229, 10.1522, 8.4219)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5294F #29A57F
analogous
#A5298D #A5294F #A54129
triadic
#A5294F #4FA529 #294FA5
tetradic
#A5294F #8DA529 #29A57F #4129A5
square
#A5294F #8DA529 #29A57F #4129A5
split-complementary
#A5294F #29A541 #298DA5
monochromatic
#431120 #741D38 #A5294F #CF3D69 #DB6E8F

Accessibility & contrast

On white

6.93
#A5294F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A5294F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5294F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5294F#FFFFFF#000000##FFFFFF
##A5294F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A50
Deuteranopia (green-blind)
#68634C
Tritanopia (blue-blind)
#B40939
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5294f;
/* rgb */ color: rgb(165, 41, 79);
/* oklch */ color: oklch(48.7% 0.161 7.5);
Tailwind
colors: {
  custom: {
    50: '#c66e80',
    500: '#a5294f',
    950: '#000000',
  },
}
SCSS
$custom: #a5294f;
$custom-light: #c66e80;
$custom-dark: #000000;
JSON
{
  "hex": "#a5294f",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 341.613,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48728,
    "c": 0.16103,
    "h": 7.5
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#A5294F
secondary
#68C2A6
accent
#E3B344
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C

Preview Lab

Preview with #A5294F

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

Preview Lab → · Contrast checker → · Palette generator →

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