#AF415F#AF415F

#AF415F is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.4% C 0.145 H 6.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF415F
RGBrgb(175, 65, 95)
HSLhsl(344, 46%, 47%)
HSVhsv(344, 63%, 69%)
CMYKcmyk(0%, 62.9%, 45.7%, 31.4%)
CIE-LABlab(43.83, 47.39, 6.39)
CIE-LCHlch(43.83, 47.82, 7.68°)
OKLaboklab(53.45% 0.1443 0.0169)
OKLCHoklch(53.45% 0.145 6.7)
XYZxyz(21.6366, 13.7234, 12.3337)
Luminance0.1372 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF415F #41AF91
analogous
#AF4196 #AF415F #AF5A41
triadic
#AF415F #5FAF41 #415FAF
tetradic
#AF415F #96AF41 #41AF91 #5A41AF
square
#AF415F #96AF41 #41AF91 #5A41AF
split-complementary
#AF415F #41AF5A #4196AF
monochromatic
#56202F #823047 #AF415F #C66781 #D793A6

Accessibility & contrast

On white

5.61
#AF415F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF415F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF415F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF415F#FFFFFF#000000##FFFFFF
##AF415F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A60
Deuteranopia (green-blind)
#75705C
Tritanopia (blue-blind)
#BE324D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af415f;
/* rgb */ color: rgb(175, 65, 95);
/* oklch */ color: oklch(53.4% 0.145 6.7);
Tailwind
colors: {
  custom: {
    50: '#cb7b8c',
    500: '#af415f',
    950: '#000000',
  },
}
SCSS
$custom: #af415f;
$custom-light: #cb7b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#af415f",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 343.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.14529,
    "h": 6.7
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#AF415F
secondary
#89C2B3
accent
#D5B252
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF415F

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

Preview Lab → · Contrast checker → · Palette generator →

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