#A5295E#A5295E

#A5295E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.165 H 359.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A5295E
RGBrgb(165, 41, 94)
HSLhsl(334, 60%, 40%)
HSVhsv(334, 75%, 65%)
CMYKcmyk(0%, 75.2%, 43%, 35.3%)
CIE-LABlab(38.54, 53.78, -0.85)
CIE-LCHlch(38.54, 53.79, 359.10°)
OKLaboklab(49.19% 0.1651 -0.0016)
OKLCHoklch(49.19% 0.165 359.4)
XYZxyz(18.3317, 10.3957, 11.6287)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5295E #29A570
analogous
#A5299C #A5295E #A53229
triadic
#A5295E #5EA529 #295EA5
tetradic
#A5295E #9CA529 #29A570 #3229A5
square
#A5295E #9CA529 #29A570 #3229A5
split-complementary
#A5295E #29A532 #299CA5
monochromatic
#431126 #741D42 #A5295E #CF3D7B #DB6E9C

Accessibility & contrast

On white

6.82
#A5295E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A5295E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5295E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5295E#FFFFFF#000000##FFFFFF
##A5295E1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#66635B
Tritanopia (blue-blind)
#B31540
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5295e;
/* rgb */ color: rgb(165, 41, 94);
/* oklch */ color: oklch(49.2% 0.165 359.4);
Tailwind
colors: {
  custom: {
    50: '#c56e8b',
    500: '#a5295e',
    950: '#000000',
  },
}
SCSS
$custom: #a5295e;
$custom-light: #c56e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5295e",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 334.355,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.16512,
    "h": 359.4
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#A5295E
secondary
#68C29B
accent
#E39F44
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A5295E

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

Preview Lab → · Contrast checker → · Palette generator →

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