#AF405C#AF405C

#AF405C is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.2% C 0.146 H 8.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF405C
RGBrgb(175, 64, 92)
HSLhsl(345, 46%, 47%)
HSVhsv(345, 63%, 69%)
CMYKcmyk(0%, 63.4%, 47.4%, 31.4%)
CIE-LABlab(43.59, 47.55, 7.90)
CIE-LCHlch(43.59, 48.20, 9.43°)
OKLaboklab(53.24% 0.1446 0.0206)
OKLCHoklch(53.24% 0.146 8.1)
XYZxyz(21.4460, 13.5561, 11.6104)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF405C #40AF93
analogous
#AF4094 #AF405C #AF5C40
triadic
#AF405C #5CAF40 #405CAF
tetradic
#AF405C #94AF40 #40AF93 #5C40AF
square
#AF405C #94AF40 #40AF93 #5C40AF
split-complementary
#AF405C #40AF5C #4094AF
monochromatic
#551F2D #823044 #AF405C #C7657E #D792A4

Accessibility & contrast

On white

5.66
#AF405C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF405C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF405C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF405C#FFFFFF#000000##FFFFFF
##AF405C1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595D
Deuteranopia (green-blind)
#756F59
Tritanopia (blue-blind)
#BE304B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af405c;
/* rgb */ color: rgb(175, 64, 92);
/* oklch */ color: oklch(53.2% 0.146 8.1);
Tailwind
colors: {
  custom: {
    50: '#cc7b8a',
    500: '#af405c',
    950: '#000000',
  },
}
SCSS
$custom: #af405c;
$custom-light: #cc7b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af405c",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 344.865,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.14604,
    "h": 8.1
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#AF405C
secondary
#88C3B4
accent
#D6B552
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF405C

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

Preview Lab → · Contrast checker → · Palette generator →

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