#AF4072#AF4072

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

Color values

HEX#AF4072
RGBrgb(175, 64, 114)
HSLhsl(333, 46%, 47%)
HSVhsv(333, 63%, 69%)
CMYKcmyk(0%, 63.4%, 34.9%, 31.4%)
CIE-LABlab(44.23, 49.92, -4.75)
CIE-LCHlch(44.23, 50.15, 354.56°)
OKLaboklab(53.93% 0.1524 -0.0119)
OKLCHoklch(53.93% 0.153 355.5)
XYZxyz(22.5511, 13.9981, 17.4306)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4072 #40AF7D
analogous
#AF40AA #AF4072 #AF4540
triadic
#AF4072 #72AF40 #4072AF
tetradic
#AF4072 #AAAF40 #40AF7D #4540AF
square
#AF4072 #AAAF40 #40AF7D #4540AF
split-complementary
#AF4072 #40AF45 #40AAAF
monochromatic
#551F38 #823055 #AF4072 #C76591 #D792B1

Accessibility & contrast

On white

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

On black

3.80
#AF4072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF4072#FFFFFF#000000##FFFFFF
##AF40721.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525C73
Deuteranopia (green-blind)
#70706F
Tritanopia (blue-blind)
#BC3854
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4072;
/* rgb */ color: rgb(175, 64, 114);
/* oklch */ color: oklch(53.9% 0.153 355.5);
Tailwind
colors: {
  custom: {
    50: '#cb7b9a',
    500: '#af4072',
    950: '#000000',
  },
}
SCSS
$custom: #af4072;
$custom-light: #cb7b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4072",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 332.973,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53925,
    "c": 0.15286,
    "h": 355.5
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#AF4072
secondary
#88C3A8
accent
#D69A52
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4072

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

Preview Lab → · Contrast checker → · Palette generator →

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