#A5295D#A5295D

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

Color values

HEX#A5295D
RGBrgb(165, 41, 93)
HSLhsl(335, 60%, 40%)
HSVhsv(335, 75%, 65%)
CMYKcmyk(0%, 75.2%, 43.6%, 35.3%)
CIE-LABlab(38.51, 53.68, -0.26)
CIE-LCHlch(38.51, 53.68, 359.72°)
OKLaboklab(49.15% 0.1648 -0.0001)
OKLCHoklch(49.15% 0.165 0)
XYZxyz(18.2872, 10.3779, 11.3939)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5295D #29A571
analogous
#A5299B #A5295D #A53329
triadic
#A5295D #5DA529 #295DA5
tetradic
#A5295D #9BA529 #29A571 #3329A5
square
#A5295D #9BA529 #29A571 #3329A5
split-complementary
#A5295D #29A533 #299BA5
monochromatic
#431126 #741D41 #A5295D #CF3D7A #DB6E9B

Accessibility & contrast

On white

6.83
#A5295D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5295D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5295D#FFFFFF#000000##FFFFFF
##A5295D1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5E
Deuteranopia (green-blind)
#66635A
Tritanopia (blue-blind)
#B3153F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5295d;
/* rgb */ color: rgb(165, 41, 93);
/* oklch */ color: oklch(49.2% 0.165 360.0);
Tailwind
colors: {
  custom: {
    50: '#c56e8a',
    500: '#a5295d',
    950: '#000000',
  },
}
SCSS
$custom: #a5295d;
$custom-light: #c56e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5295d",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 334.839,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.16477,
    "h": 360
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#A5295D
secondary
#68C29C
accent
#E3A144
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5295D

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

Preview Lab → · Contrast checker → · Palette generator →

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