#AF325B#AF325B

#AF325B is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.163 H 5.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF325B
RGBrgb(175, 50, 91)
HSLhsl(340, 56%, 44%)
HSVhsv(340, 71%, 69%)
CMYKcmyk(0%, 71.4%, 48%, 31.4%)
CIE-LABlab(41.46, 53.21, 5.49)
CIE-LCHlch(41.46, 53.49, 5.90°)
OKLaboklab(51.65% 0.1625 0.0146)
OKLCHoklch(51.65% 0.163 5.1)
XYZxyz(20.7098, 12.1532, 11.1507)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF325B #32AF86
analogous
#AF329A #AF325B #AF4832
triadic
#AF325B #5BAF32 #325BAF
tetradic
#AF325B #9AAF32 #32AF86 #4832AF
square
#AF325B #9AAF32 #32AF86 #4832AF
split-complementary
#AF325B #32AF48 #329AAF
monochromatic
#501729 #7F2442 #AF325B #CD517A #DB819E

Accessibility & contrast

On white

6.12
#AF325B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF325B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF325B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF325B#FFFFFF#000000##FFFFFF
##AF325B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F525C
Deuteranopia (green-blind)
#706B58
Tritanopia (blue-blind)
#BE1C43
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af325b;
/* rgb */ color: rgb(175, 50, 91);
/* oklch */ color: oklch(51.6% 0.163 5.1);
Tailwind
colors: {
  custom: {
    50: '#cc7389',
    500: '#af325b',
    950: '#000000',
  },
}
SCSS
$custom: #af325b;
$custom-light: #cc7389;
$custom-dark: #000000;
JSON
{
  "hex": "#af325b",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 91
  },
  "hsl": {
    "h": 340.32,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51647,
    "c": 0.16318,
    "h": 5.1
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#AF325B
secondary
#79C4AB
accent
#DFAE49
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF325B

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

Preview Lab → · Contrast checker → · Palette generator →

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