#AF4371#AF4371

#AF4371 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.3% C 0.148 H 356.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF4371
RGBrgb(175, 67, 113)
HSLhsl(334, 45%, 47%)
HSVhsv(334, 62%, 69%)
CMYKcmyk(0%, 61.7%, 35.4%, 31.4%)
CIE-LABlab(44.69, 48.47, -3.45)
CIE-LCHlch(44.69, 48.59, 355.93°)
OKLaboklab(54.26% 0.1479 -0.0085)
OKLCHoklch(54.26% 0.148 356.7)
XYZxyz(22.6682, 14.3230, 17.1904)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4371 #43AF81
analogous
#AF43A7 #AF4371 #AF4B43
triadic
#AF4371 #71AF43 #4371AF
tetradic
#AF4371 #A7AF43 #43AF81 #4B43AF
square
#AF4371 #A7AF43 #43AF81 #4B43AF
split-complementary
#AF4371 #43AF4B #43A7AF
monochromatic
#562138 #833254 #AF4371 #C66991 #D796B1

Accessibility & contrast

On white

5.43
#AF4371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF4371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4371
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4371#FFFFFF#000000##FFFFFF
##AF43711.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#72716E
Tritanopia (blue-blind)
#BC3A55
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4371;
/* rgb */ color: rgb(175, 67, 113);
/* oklch */ color: oklch(54.3% 0.148 356.7);
Tailwind
colors: {
  custom: {
    50: '#cb7d99',
    500: '#af4371',
    950: '#000000',
  },
}
SCSS
$custom: #af4371;
$custom-light: #cb7d99;
$custom-dark: #000000;
JSON
{
  "hex": "#af4371",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 113
  },
  "hsl": {
    "h": 334.444,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54257,
    "c": 0.14813,
    "h": 356.7
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#AF4371
secondary
#8BC2AB
accent
#D49D53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4371

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

Preview Lab → · Contrast checker → · Palette generator →

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