#AF3072#AF3072

#AF3072 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.174 H 353.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF3072
RGBrgb(175, 48, 114)
HSLhsl(329, 57%, 44%)
HSVhsv(329, 73%, 69%)
CMYKcmyk(0%, 72.6%, 34.9%, 31.4%)
CIE-LABlab(41.92, 56.31, -8.20)
CIE-LCHlch(41.92, 56.90, 351.71°)
OKLaboklab(52.22% 0.1725 -0.021)
OKLCHoklch(52.22% 0.174 353.1)
XYZxyz(21.7747, 12.4453, 17.1718)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3072 #30AF6D
analogous
#AC30AF #AF3072 #AF3032
triadic
#AF3072 #72AF30 #3072AF
tetradic
#AF3072 #AFAC30 #30AF6D #3032AF
square
#AF3072 #AFAC30 #30AF6D #3032AF
split-complementary
#AF3072 #32AF30 #30AFAC
monochromatic
#4F1633 #7F2353 #AF3072 #CE4E91 #DC7EAF

Accessibility & contrast

On white

6.02
#AF3072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF3072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3072
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3072#FFFFFF#000000##FFFFFF
##AF30721.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465474
Deuteranopia (green-blind)
#6A6B6F
Tritanopia (blue-blind)
#BD254D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3072;
/* rgb */ color: rgb(175, 48, 114);
/* oklch */ color: oklch(52.2% 0.174 353.1);
Tailwind
colors: {
  custom: {
    50: '#cb739a',
    500: '#af3072',
    950: '#000000',
  },
}
SCSS
$custom: #af3072;
$custom-light: #cb739a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3072",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 328.819,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.17373,
    "h": 353.1
  },
  "luminance": 0.12443
}

Semantic roles & 50–950 ramp

primary
#AF3072
secondary
#76C49C
accent
#E09148
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3072

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

Preview Lab → · Contrast checker → · Palette generator →

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