#A45271#A45271

#A45271 is a mid, moderate pink. Relative luminance 0.151; OKLCH L 54.7% C 0.113 H 357.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A45271
RGBrgb(164, 82, 113)
HSLhsl(337, 33%, 48%)
HSVhsv(337, 50%, 64%)
CMYKcmyk(0%, 50%, 31.1%, 35.7%)
CIE-LABlab(45.80, 37.37, -2.01)
CIE-LCHlch(45.80, 37.42, 356.91°)
OKLaboklab(54.75% 0.1133 -0.0048)
OKLCHoklch(54.75% 0.113 357.6)
XYZxyz(21.3086, 15.1212, 17.4160)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45271 #52A485
analogous
#A4529A #A45271 #A45C52
triadic
#A45271 #71A452 #5271A4
tetradic
#A45271 #9AA452 #52A485 #5C52A4
square
#A45271 #9AA452 #52A485 #5C52A4
split-complementary
#A45271 #52A45C #529AA4
monochromatic
#522939 #7B3E55 #A45271 #BB7891 #D0A1B2

Accessibility & contrast

On white

5.22
#A45271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A45271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A45271
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45271#FFFFFF#000000##FFFFFF
##A452711.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#73726F
Tritanopia (blue-blind)
#AF4D5D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a45271;
/* rgb */ color: rgb(164, 82, 113);
/* oklch */ color: oklch(54.7% 0.113 357.6);
Tailwind
colors: {
  custom: {
    50: '#c18599',
    500: '#a45271',
    950: '#000000',
  },
}
SCSS
$custom: #a45271;
$custom-light: #c18599;
$custom-dark: #000000;
JSON
{
  "hex": "#a45271",
  "rgb": {
    "r": 164,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 337.317,
    "s": 33.333,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.1134,
    "h": 357.6
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#A45271
secondary
#95BDAE
accent
#C9A15E
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #A45271

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

Preview Lab → · Contrast checker → · Palette generator →

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