#AF466C#AF466C

#AF466C is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.5% C 0.142 H 0.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF466C
RGBrgb(175, 70, 108)
HSLhsl(338, 43%, 48%)
HSVhsv(338, 60%, 69%)
CMYKcmyk(0%, 60%, 38.3%, 31.4%)
CIE-LABlab(45.05, 46.50, 0.14)
CIE-LCHlch(45.05, 46.50, 0.18°)
OKLaboklab(54.47% 0.1419 0.001)
OKLCHoklch(54.47% 0.142 0.4)
XYZxyz(22.5775, 14.5794, 15.8096)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF466C #46AF89
analogous
#AF46A0 #AF466C #AF5546
triadic
#AF466C #6CAF46 #466CAF
tetradic
#AF466C #A0AF46 #46AF89 #5546AF
square
#AF466C #A0AF46 #46AF89 #5546AF
split-complementary
#AF466C #46AF55 #46A0AF
monochromatic
#582336 #833551 #AF466C #C56D8D #D699AF

Accessibility & contrast

On white

5.36
#AF466C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF466C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF466C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF466C#FFFFFF#000000##FFFFFF
##AF466C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595E6D
Deuteranopia (green-blind)
#74726A
Tritanopia (blue-blind)
#BD3C55
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af466c;
/* rgb */ color: rgb(175, 70, 108);
/* oklch */ color: oklch(54.5% 0.142 0.4);
Tailwind
colors: {
  custom: {
    50: '#cb7e96',
    500: '#af466c',
    950: '#000000',
  },
}
SCSS
$custom: #af466c;
$custom-light: #cb7e96;
$custom-dark: #000000;
JSON
{
  "hex": "#af466c",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 108
  },
  "hsl": {
    "h": 338.286,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54475,
    "c": 0.14187,
    "h": 0.4
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#AF466C
secondary
#8EC2B0
accent
#D3A555
background
#FCF7F9
surface
#F9EEF1
border
#D2C9CB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF466C

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

Preview Lab → · Contrast checker → · Palette generator →

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