#AF3372#AF3372

#AF3372 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.170 H 353.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF3372
RGBrgb(175, 51, 114)
HSLhsl(330, 55%, 44%)
HSVhsv(330, 71%, 69%)
CMYKcmyk(0%, 70.9%, 34.9%, 31.4%)
CIE-LABlab(42.31, 55.22, -7.62)
CIE-LCHlch(42.31, 55.74, 352.15°)
OKLaboklab(52.51% 0.169 -0.0195)
OKLCHoklch(52.51% 0.17 353.4)
XYZxyz(21.9016, 12.6991, 17.2141)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3372 #33AF70
analogous
#AE33AF #AF3372 #AF3334
triadic
#AF3372 #72AF33 #3372AF
tetradic
#AF3372 #AFAE33 #33AF70 #3334AF
square
#AF3372 #AFAE33 #33AF70 #3334AF
split-complementary
#AF3372 #34AF33 #33AFAE
monochromatic
#501734 #802553 #AF3372 #CD5291 #DB82AF

Accessibility & contrast

On white

5.93
#AF3372 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF3372 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3372
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3372#FFFFFF#000000##FFFFFF
##AF33721.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#6B6C6F
Tritanopia (blue-blind)
#BC294E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3372;
/* rgb */ color: rgb(175, 51, 114);
/* oklch */ color: oklch(52.5% 0.170 353.4);
Tailwind
colors: {
  custom: {
    50: '#cb759a',
    500: '#af3372',
    950: '#000000',
  },
}
SCSS
$custom: #af3372;
$custom-light: #cb759a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3372",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 329.516,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.17013,
    "h": 353.4
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#AF3372
secondary
#7AC49E
accent
#DE934A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3372

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

Preview Lab → · Contrast checker → · Palette generator →

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