#AF3873#AF3873

#AF3873 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.1% C 0.164 H 353.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF3873
RGBrgb(175, 56, 115)
HSLhsl(330, 52%, 45%)
HSVhsv(330, 68%, 69%)
CMYKcmyk(0%, 68%, 34.3%, 31.4%)
CIE-LABlab(43.04, 53.40, -7.14)
CIE-LCHlch(43.04, 53.88, 352.38°)
OKLaboklab(53.05% 0.1632 -0.0182)
OKLCHoklch(53.05% 0.164 353.6)
XYZxyz(22.1891, 13.1826, 17.5923)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3873 #38AF74
analogous
#AF38AE #AF3873 #AF3838
triadic
#AF3873 #73AF38 #3873AF
tetradic
#AF3873 #AEAF38 #38AF74 #3838AF
square
#AF3873 #AEAF38 #38AF74 #3838AF
split-complementary
#AF3873 #38AF38 #38AEAF
monochromatic
#521A36 #812955 #AF3873 #CA5A92 #D988B0

Accessibility & contrast

On white

5.78
#AF3873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF3873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3873
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3873#FFFFFF#000000##FFFFFF
##AF38731.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5875
Deuteranopia (green-blind)
#6D6E70
Tritanopia (blue-blind)
#BC2F51
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3873;
/* rgb */ color: rgb(175, 56, 115);
/* oklch */ color: oklch(53.1% 0.164 353.6);
Tailwind
colors: {
  custom: {
    50: '#cb779b',
    500: '#af3873',
    950: '#000000',
  },
}
SCSS
$custom: #af3873;
$custom-light: #cb779b;
$custom-dark: #000000;
JSON
{
  "hex": "#af3873",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 330.252,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53054,
    "c": 0.16425,
    "h": 353.6
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#AF3873
secondary
#80C3A2
accent
#DB944D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3873

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

Preview Lab → · Contrast checker → · Palette generator →

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