#AF405F#AF405F

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

Color values

HEX#AF405F
RGBrgb(175, 64, 95)
HSLhsl(343, 46%, 47%)
HSVhsv(343, 63%, 69%)
CMYKcmyk(0%, 63.4%, 45.7%, 31.4%)
CIE-LABlab(43.67, 47.84, 6.15)
CIE-LCHlch(43.67, 48.23, 7.33°)
OKLaboklab(53.32% 0.1457 0.0163)
OKLCHoklch(53.32% 0.147 6.4)
XYZxyz(21.5797, 13.6096, 12.3148)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF405F #40AF90
analogous
#AF4097 #AF405F #AF5840
triadic
#AF405F #5FAF40 #405FAF
tetradic
#AF405F #97AF40 #40AF90 #5840AF
square
#AF405F #97AF40 #40AF90 #5840AF
split-complementary
#AF405F #40AF58 #4097AF
monochromatic
#551F2E #823047 #AF405F #C76581 #D792A5

Accessibility & contrast

On white

5.64
#AF405F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF405F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF405F#FFFFFF#000000##FFFFFF
##AF405F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575960
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#BE314C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af405f;
/* rgb */ color: rgb(175, 64, 95);
/* oklch */ color: oklch(53.3% 0.147 6.4);
Tailwind
colors: {
  custom: {
    50: '#cb7b8c',
    500: '#af405f',
    950: '#000000',
  },
}
SCSS
$custom: #af405f;
$custom-light: #cb7b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#af405f",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 343.243,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53322,
    "c": 0.14662,
    "h": 6.4
  },
  "luminance": 0.13607
}

Semantic roles & 50–950 ramp

primary
#AF405F
secondary
#88C3B2
accent
#D6B152
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF405F

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

Preview Lab → · Contrast checker → · Palette generator →

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