#AF4071#AF4071

#AF4071 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.9% C 0.152 H 356.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF4071
RGBrgb(175, 64, 113)
HSLhsl(334, 46%, 47%)
HSVhsv(334, 63%, 69%)
CMYKcmyk(0%, 63.4%, 35.4%, 31.4%)
CIE-LABlab(44.20, 49.80, -4.18)
CIE-LCHlch(44.20, 49.98, 355.20°)
OKLaboklab(53.89% 0.1521 -0.0104)
OKLCHoklch(53.89% 0.152 356.1)
XYZxyz(22.4945, 13.9755, 17.1325)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4071 #40AF7E
analogous
#AF40A9 #AF4071 #AF4740
triadic
#AF4071 #71AF40 #4071AF
tetradic
#AF4071 #A9AF40 #40AF7E #4740AF
square
#AF4071 #A9AF40 #40AF7E #4740AF
split-complementary
#AF4071 #40AF47 #40A9AF
monochromatic
#551F37 #823054 #AF4071 #C76590 #D792B1

Accessibility & contrast

On white

5.53
#AF4071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF4071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4071
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4071#FFFFFF#000000##FFFFFF
##AF40711.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#71706E
Tritanopia (blue-blind)
#BC3754
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4071;
/* rgb */ color: rgb(175, 64, 113);
/* oklch */ color: oklch(53.9% 0.152 356.1);
Tailwind
colors: {
  custom: {
    50: '#cb7b99',
    500: '#af4071',
    950: '#000000',
  },
}
SCSS
$custom: #af4071;
$custom-light: #cb7b99;
$custom-dark: #000000;
JSON
{
  "hex": "#af4071",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 333.514,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.15243,
    "h": 356.1
  },
  "luminance": 0.13973
}

Semantic roles & 50–950 ramp

primary
#AF4071
secondary
#88C3A9
accent
#D69C52
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4071

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

Preview Lab → · Contrast checker → · Palette generator →

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