#AF405D#AF405D

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

Color values

HEX#AF405D
RGBrgb(175, 64, 93)
HSLhsl(344, 46%, 47%)
HSVhsv(344, 63%, 69%)
CMYKcmyk(0%, 63.4%, 46.9%, 31.4%)
CIE-LABlab(43.62, 47.64, 7.32)
CIE-LCHlch(43.62, 48.20, 8.73°)
OKLaboklab(53.27% 0.145 0.0192)
OKLCHoklch(53.27% 0.146 7.5)
XYZxyz(21.4900, 13.5737, 11.8421)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF405D #40AF92
analogous
#AF4095 #AF405D #AF5A40
triadic
#AF405D #5DAF40 #405DAF
tetradic
#AF405D #95AF40 #40AF92 #5A40AF
square
#AF405D #95AF40 #40AF92 #5A40AF
split-complementary
#AF405D #40AF5A #4095AF
monochromatic
#551F2D #823045 #AF405D #C7657F #D792A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF405D#FFFFFF#000000##FFFFFF
##AF405D1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595E
Deuteranopia (green-blind)
#756F5A
Tritanopia (blue-blind)
#BE314B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af405d;
/* rgb */ color: rgb(175, 64, 93);
/* oklch */ color: oklch(53.3% 0.146 7.5);
Tailwind
colors: {
  custom: {
    50: '#cc7b8a',
    500: '#af405d',
    950: '#000000',
  },
}
SCSS
$custom: #af405d;
$custom-light: #cc7b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af405d",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 344.324,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.14622,
    "h": 7.5
  },
  "luminance": 0.13571
}

Semantic roles & 50–950 ramp

primary
#AF405D
secondary
#88C3B3
accent
#D6B452
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF405D

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

Preview Lab → · Contrast checker → · Palette generator →

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