#AF3A5D#AF3A5D

#AF3A5D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.6% C 0.154 H 5.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF3A5D
RGBrgb(175, 58, 93)
HSLhsl(342, 50%, 46%)
HSVhsv(342, 67%, 69%)
CMYKcmyk(0%, 66.9%, 46.9%, 31.4%)
CIE-LABlab(42.66, 50.23, 5.96)
CIE-LCHlch(42.66, 50.58, 6.77°)
OKLaboklab(52.56% 0.1532 0.0158)
OKLCHoklch(52.56% 0.154 5.9)
XYZxyz(21.1697, 12.9330, 11.7353)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A5D #3AAF8C
analogous
#AF3A97 #AF3A5D #AF513A
triadic
#AF3A5D #5DAF3A #3A5DAF
tetradic
#AF3A5D #97AF3A #3AAF8C #513AAF
square
#AF3A5D #97AF3A #3AAF8C #513AAF
split-complementary
#AF3A5D #3AAF51 #3A97AF
monochromatic
#531C2C #812B45 #AF3A5D #C95D7D #D98BA2

Accessibility & contrast

On white

5.86
#AF3A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF3A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A5D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A5D#FFFFFF#000000##FFFFFF
##AF3A5D1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#BE2948
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3a5d;
/* rgb */ color: rgb(175, 58, 93);
/* oklch */ color: oklch(52.6% 0.154 5.9);
Tailwind
colors: {
  custom: {
    50: '#cc788a',
    500: '#af3a5d',
    950: '#000000',
  },
}
SCSS
$custom: #af3a5d;
$custom-light: #cc788a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a5d",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 93
  },
  "hsl": {
    "h": 342.051,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52557,
    "c": 0.15398,
    "h": 5.9
  },
  "luminance": 0.1293
}

Semantic roles & 50–950 ramp

primary
#AF3A5D
secondary
#82C3AF
accent
#DAB04E
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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