#AF4073#AF4073

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

Color values

HEX#AF4073
RGBrgb(175, 64, 115)
HSLhsl(332, 46%, 47%)
HSVhsv(332, 63%, 69%)
CMYKcmyk(0%, 63.4%, 34.3%, 31.4%)
CIE-LABlab(44.26, 50.04, -5.32)
CIE-LCHlch(44.26, 50.33, 353.94°)
OKLaboklab(53.96% 0.1527 -0.0134)
OKLCHoklch(53.96% 0.153 355)
XYZxyz(22.6083, 14.0210, 17.7320)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4073 #40AF7C
analogous
#AF40AB #AF4073 #AF4440
triadic
#AF4073 #73AF40 #4073AF
tetradic
#AF4073 #ABAF40 #40AF7C #4440AF
square
#AF4073 #ABAF40 #40AF7C #4440AF
split-complementary
#AF4073 #40AF44 #40ABAF
monochromatic
#551F38 #823056 #AF4073 #C76592 #D792B2

Accessibility & contrast

On white

5.52
#AF4073 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4073
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4073#FFFFFF#000000##FFFFFF
##AF40731.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525C74
Deuteranopia (green-blind)
#707070
Tritanopia (blue-blind)
#BC3854
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4073;
/* rgb */ color: rgb(175, 64, 115);
/* oklch */ color: oklch(54.0% 0.153 355.0);
Tailwind
colors: {
  custom: {
    50: '#cb7b9b',
    500: '#af4073',
    950: '#000000',
  },
}
SCSS
$custom: #af4073;
$custom-light: #cb7b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#af4073",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 332.432,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.15331,
    "h": 355
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4073

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

Preview Lab → · Contrast checker → · Palette generator →

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