#AF4971#AF4971

#AF4971 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.0% C 0.139 H 358.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF4971
RGBrgb(175, 73, 113)
HSLhsl(336, 41%, 49%)
HSVhsv(336, 58%, 69%)
CMYKcmyk(0%, 58.3%, 35.4%, 31.4%)
CIE-LABlab(45.73, 45.68, -1.92)
CIE-LCHlch(45.73, 45.72, 357.60°)
OKLaboklab(55.03% 0.1392 -0.0044)
OKLCHoklch(55.03% 0.139 358.2)
XYZxyz(23.0436, 15.0737, 17.3155)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4971 #49AF87
analogous
#AF49A4 #AF4971 #AF5449
triadic
#AF4971 #71AF49 #4971AF
tetradic
#AF4971 #A4AF49 #49AF87 #5449AF
square
#AF4971 #A4AF49 #49AF87 #5449AF
split-complementary
#AF4971 #49AF54 #49A4AF
monochromatic
#592539 #843755 #AF4971 #C47192 #D69CB3

Accessibility & contrast

On white

5.23
#AF4971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF4971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4971
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4971#FFFFFF#000000##FFFFFF
##AF49711.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6072
Deuteranopia (green-blind)
#75736F
Tritanopia (blue-blind)
#BC4158
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4971;
/* rgb */ color: rgb(175, 73, 113);
/* oklch */ color: oklch(55.0% 0.139 358.2);
Tailwind
colors: {
  custom: {
    50: '#ca8099',
    500: '#af4971',
    950: '#000000',
  },
}
SCSS
$custom: #af4971;
$custom-light: #ca8099;
$custom-dark: #000000;
JSON
{
  "hex": "#af4971",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 336.471,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55034,
    "c": 0.13926,
    "h": 358.2
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#AF4971
secondary
#91C2AF
accent
#D1A157
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4971

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

Preview Lab → · Contrast checker → · Palette generator →

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