#A5295F#A5295F

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

Color values

HEX#A5295F
RGBrgb(165, 41, 95)
HSLhsl(334, 60%, 40%)
HSVhsv(334, 75%, 65%)
CMYKcmyk(0%, 75.2%, 42.4%, 35.3%)
CIE-LABlab(38.58, 53.88, -1.44)
CIE-LCHlch(38.58, 53.90, 358.47°)
OKLaboklab(49.22% 0.1654 -0.0031)
OKLCHoklch(49.22% 0.165 358.9)
XYZxyz(18.3769, 10.4138, 11.8666)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5295F #29A56F
analogous
#A5299D #A5295F #A53129
triadic
#A5295F #5FA529 #295FA5
tetradic
#A5295F #9DA529 #29A56F #3129A5
square
#A5295F #9DA529 #29A56F #3129A5
split-complementary
#A5295F #29A531 #299DA5
monochromatic
#431127 #741D43 #A5295F #CF3D7C #DB6E9D

Accessibility & contrast

On white

6.81
#A5295F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5295F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5295F#FFFFFF#000000##FFFFFF
##A5295F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B31640
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5295f;
/* rgb */ color: rgb(165, 41, 95);
/* oklch */ color: oklch(49.2% 0.165 358.9);
Tailwind
colors: {
  custom: {
    50: '#c56e8c',
    500: '#a5295f',
    950: '#000000',
  },
}
SCSS
$custom: #a5295f;
$custom-light: #c56e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5295f",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 333.871,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.16547,
    "h": 358.9
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5295F

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

Preview Lab → · Contrast checker → · Palette generator →

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