#AF4873#AF4873

#AF4873 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.0% C 0.142 H 356.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF4873
RGBrgb(175, 72, 115)
HSLhsl(335, 42%, 48%)
HSVhsv(335, 59%, 69%)
CMYKcmyk(0%, 58.9%, 34.3%, 31.4%)
CIE-LABlab(45.62, 46.39, -3.31)
CIE-LCHlch(45.62, 46.51, 355.92°)
OKLaboklab(54.97% 0.1414 -0.0081)
OKLCHoklch(54.97% 0.142 356.7)
XYZxyz(23.0923, 14.9889, 17.8933)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4873 #48AF84
analogous
#AF48A6 #AF4873 #AF5048
triadic
#AF4873 #73AF48 #4873AF
tetradic
#AF4873 #A6AF48 #48AF84 #5048AF
square
#AF4873 #A6AF48 #48AF84 #5048AF
split-complementary
#AF4873 #48AF50 #48A6AF
monochromatic
#58243A #843657 #AF4873 #C47093 #D69BB4

Accessibility & contrast

On white

5.25
#AF4873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF4873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4873
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4873#FFFFFF#000000##FFFFFF
##AF48731.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586074
Deuteranopia (green-blind)
#747371
Tritanopia (blue-blind)
#BC4059
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4873;
/* rgb */ color: rgb(175, 72, 115);
/* oklch */ color: oklch(55.0% 0.142 356.7);
Tailwind
colors: {
  custom: {
    50: '#ca809b',
    500: '#af4873',
    950: '#000000',
  },
}
SCSS
$custom: #af4873;
$custom-light: #ca809b;
$custom-dark: #000000;
JSON
{
  "hex": "#af4873",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 334.951,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54968,
    "c": 0.14158,
    "h": 356.7
  },
  "luminance": 0.14986
}

Semantic roles & 50–950 ramp

primary
#AF4873
secondary
#90C2AE
accent
#D29E56
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4873

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

Preview Lab → · Contrast checker → · Palette generator →

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