#AF405E#AF405E

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

Color values

HEX#AF405E
RGBrgb(175, 64, 94)
HSLhsl(344, 46%, 47%)
HSVhsv(344, 63%, 69%)
CMYKcmyk(0%, 63.4%, 46.3%, 31.4%)
CIE-LABlab(43.64, 47.74, 6.74)
CIE-LCHlch(43.64, 48.21, 8.03°)
OKLaboklab(53.29% 0.1453 0.0177)
OKLCHoklch(53.29% 0.146 6.9)
XYZxyz(21.5346, 13.5915, 12.0769)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF405E #40AF91
analogous
#AF4096 #AF405E #AF5A40
triadic
#AF405E #5EAF40 #405EAF
tetradic
#AF405E #96AF40 #40AF91 #5A40AF
square
#AF405E #96AF40 #40AF91 #5A40AF
split-complementary
#AF405E #40AF5A #4096AF
monochromatic
#551F2E #823046 #AF405E #C76580 #D792A5

Accessibility & contrast

On white

5.65
#AF405E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF405E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF405E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF405E#FFFFFF#000000##FFFFFF
##AF405E1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595F
Deuteranopia (green-blind)
#746F5B
Tritanopia (blue-blind)
#BE314C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af405e;
/* rgb */ color: rgb(175, 64, 94);
/* oklch */ color: oklch(53.3% 0.146 6.9);
Tailwind
colors: {
  custom: {
    50: '#cc7b8b',
    500: '#af405e',
    950: '#000000',
  },
}
SCSS
$custom: #af405e;
$custom-light: #cc7b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#af405e",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 343.784,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.14642,
    "h": 6.9
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#AF405E
secondary
#88C3B3
accent
#D6B252
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF405E

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

Preview Lab → · Contrast checker → · Palette generator →

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