#AF3252#AF3252

#AF3252 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.161 H 9.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AF3252
RGBrgb(175, 50, 82)
HSLhsl(345, 56%, 44%)
HSVhsv(345, 71%, 69%)
CMYKcmyk(0%, 71.4%, 53.1%, 31.4%)
CIE-LABlab(41.23, 52.42, 10.82)
CIE-LCHlch(41.23, 53.53, 11.66°)
OKLaboklab(51.4% 0.1591 0.0276)
OKLCHoklch(51.4% 0.161 9.8)
XYZxyz(20.3446, 12.0071, 9.2273)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3252 #32AF8F
analogous
#AF3291 #AF3252 #AF5132
triadic
#AF3252 #52AF32 #3252AF
tetradic
#AF3252 #91AF32 #32AF8F #5132AF
square
#AF3252 #91AF32 #32AF8F #5132AF
split-complementary
#AF3252 #32AF51 #3291AF
monochromatic
#501725 #7F243C #AF3252 #CD5171 #DB8198

Accessibility & contrast

On white

6.18
#AF3252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF3252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3252
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3252#FFFFFF#000000##FFFFFF
##AF32521.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515153
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#BF173F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3252;
/* rgb */ color: rgb(175, 50, 82);
/* oklch */ color: oklch(51.4% 0.161 9.8);
Tailwind
colors: {
  custom: {
    50: '#cd7382',
    500: '#af3252',
    950: '#000000',
  },
}
SCSS
$custom: #af3252;
$custom-light: #cd7382;
$custom-dark: #000000;
JSON
{
  "hex": "#af3252",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 344.64,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.514,
    "c": 0.16147,
    "h": 9.8
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#AF3252
secondary
#79C4B1
accent
#DFB849
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3252

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

Preview Lab → · Contrast checker → · Palette generator →

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