#AF3A5C#AF3A5C

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

Color values

HEX#AF3A5C
RGBrgb(175, 58, 92)
HSLhsl(343, 50%, 46%)
HSVhsv(343, 67%, 69%)
CMYKcmyk(0%, 66.9%, 47.4%, 31.4%)
CIE-LABlab(42.64, 50.13, 6.55)
CIE-LCHlch(42.64, 50.56, 7.44°)
OKLaboklab(52.53% 0.1528 0.0172)
OKLCHoklch(52.53% 0.154 6.4)
XYZxyz(21.1257, 12.9154, 11.5036)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A5C #3AAF8D
analogous
#AF3A96 #AF3A5C #AF523A
triadic
#AF3A5C #5CAF3A #3A5CAF
tetradic
#AF3A5C #96AF3A #3AAF8D #523AAF
square
#AF3A5C #96AF3A #3AAF8D #523AAF
split-complementary
#AF3A5C #3AAF52 #3A96AF
monochromatic
#531C2C #812B44 #AF3A5C #C95D7C #D98BA1

Accessibility & contrast

On white

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

On black

3.58
#AF3A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF3A5C#FFFFFF#000000##FFFFFF
##AF3A5C1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565D
Deuteranopia (green-blind)
#726D59
Tritanopia (blue-blind)
#BE2847
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3a5c;
/* rgb */ color: rgb(175, 58, 92);
/* oklch */ color: oklch(52.5% 0.154 6.4);
Tailwind
colors: {
  custom: {
    50: '#cc7789',
    500: '#af3a5c',
    950: '#000000',
  },
}
SCSS
$custom: #af3a5c;
$custom-light: #cc7789;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a5c",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 92
  },
  "hsl": {
    "h": 342.564,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52528,
    "c": 0.15377,
    "h": 6.4
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#AF3A5C
secondary
#82C3B0
accent
#DAB14E
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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