#A5294E#A5294E

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

Color values

HEX#A5294E
RGBrgb(165, 41, 78)
HSLhsl(342, 60%, 40%)
HSVhsv(342, 75%, 65%)
CMYKcmyk(0%, 75.2%, 52.7%, 35.3%)
CIE-LABlab(38.09, 52.32, 8.69)
CIE-LCHlch(38.09, 53.03, 9.43°)
OKLaboklab(48.7% 0.1593 0.0223)
OKLCHoklch(48.7% 0.161 8)
XYZxyz(17.6867, 10.1377, 8.2317)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5294E #29A580
analogous
#A5298C #A5294E #A54229
triadic
#A5294E #4EA529 #294EA5
tetradic
#A5294E #8CA529 #29A580 #4229A5
square
#A5294E #8CA529 #29A580 #4229A5
split-complementary
#A5294E #29A542 #298CA5
monochromatic
#431120 #741D37 #A5294E #CF3D68 #DB6E8E

Accessibility & contrast

On white

6.94
#A5294E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5294E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5294E#FFFFFF#000000##FFFFFF
##A5294E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#69634B
Tritanopia (blue-blind)
#B40839
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5294e;
/* rgb */ color: rgb(165, 41, 78);
/* oklch */ color: oklch(48.7% 0.161 8.0);
Tailwind
colors: {
  custom: {
    50: '#c66e7f',
    500: '#a5294e',
    950: '#000000',
  },
}
SCSS
$custom: #a5294e;
$custom-light: #c66e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5294e",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 78
  },
  "hsl": {
    "h": 342.097,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48701,
    "c": 0.16084,
    "h": 8
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#A5294E
secondary
#68C2A7
accent
#E3B444
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C

Preview Lab

Preview with #A5294E

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

Preview Lab → · Contrast checker → · Palette generator →

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