#AF3971#AF3971

#AF3971 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.1% C 0.162 H 354.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AF3971
RGBrgb(175, 57, 113)
HSLhsl(332, 51%, 45%)
HSVhsv(332, 67%, 69%)
CMYKcmyk(0%, 67.4%, 35.4%, 31.4%)
CIE-LABlab(43.12, 52.76, -5.79)
CIE-LCHlch(43.12, 53.08, 353.74°)
OKLaboklab(53.09% 0.1614 -0.0146)
OKLCHoklch(53.09% 0.162 354.8)
XYZxyz(22.1242, 13.2350, 17.0091)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3971 #39AF77
analogous
#AF39AC #AF3971 #AF3C39
triadic
#AF3971 #71AF39 #3971AF
tetradic
#AF3971 #ACAF39 #39AF77 #3C39AF
square
#AF3971 #ACAF39 #39AF77 #3C39AF
split-complementary
#AF3971 #39AF3C #39ACAF
monochromatic
#531B35 #812A53 #AF3971 #CA5B90 #D98AAF

Accessibility & contrast

On white

5.76
#AF3971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF3971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3971
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3971#FFFFFF#000000##FFFFFF
##AF39711.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5873
Deuteranopia (green-blind)
#6E6E6E
Tritanopia (blue-blind)
#BC2F50
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3971;
/* rgb */ color: rgb(175, 57, 113);
/* oklch */ color: oklch(53.1% 0.162 354.8);
Tailwind
colors: {
  custom: {
    50: '#cb7799',
    500: '#af3971',
    950: '#000000',
  },
}
SCSS
$custom: #af3971;
$custom-light: #cb7799;
$custom-dark: #000000;
JSON
{
  "hex": "#af3971",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 331.525,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.16202,
    "h": 354.8
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#AF3971
secondary
#81C3A4
accent
#DA974D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3971

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

Preview Lab → · Contrast checker → · Palette generator →

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