#A45F97#A45F97

#A45F97 is a mid, moderate pink. Relative luminance 0.183; OKLCH L 58.2% C 0.116 H 334.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A45F97
RGBrgb(164, 95, 151)
HSLhsl(311, 27%, 51%)
HSVhsv(311, 42%, 64%)
CMYKcmyk(0%, 42.1%, 7.9%, 35.7%)
CIE-LABlab(49.87, 36.37, -18.69)
CIE-LCHlch(49.87, 40.89, 332.81°)
OKLaboklab(58.25% 0.1044 -0.0504)
OKLCHoklch(58.25% 0.116 334.2)
XYZxyz(24.9879, 18.3127, 31.4907)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45F97 #5FA46C
analogous
#8E5FA4 #A45F97 #A45F74
triadic
#A45F97 #97A45F #5F97A4
tetradic
#A45F97 #A48E5F #5FA46C #5F74A4
square
#A45F97 #A48E5F #5FA46C #5F74A4
split-complementary
#A45F97 #74A45F #5FA48E
monochromatic
#573250 #7E4874 #A45F97 #BA86B0 #D0ADCA

Accessibility & contrast

On white

4.50
#A45F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A45F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45F97
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45F97#FFFFFF#000000##000000
##A45F971.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7099
Deuteranopia (green-blind)
#717A95
Tritanopia (blue-blind)
#AA6274
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a45f97;
/* rgb */ color: rgb(164, 95, 151);
/* oklch */ color: oklch(58.2% 0.116 334.2);
Tailwind
colors: {
  custom: {
    50: '#c08eb5',
    500: '#a45f97',
    950: '#000000',
  },
}
SCSS
$custom: #a45f97;
$custom-light: #c08eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45f97",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 311.304,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.11592,
    "h": 334.2
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#A45F97
secondary
#A0BFA6
accent
#C47664
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C11
muted
#817D80

Preview Lab

Preview with #A45F97

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

Preview Lab → · Contrast checker → · Palette generator →

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