#AF476B#AF476B

#AF476B is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.6% C 0.140 H 1.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF476B
RGBrgb(175, 71, 107)
HSLhsl(339, 42%, 48%)
HSVhsv(339, 59%, 69%)
CMYKcmyk(0%, 59.4%, 38.9%, 31.4%)
CIE-LABlab(45.20, 45.92, 0.97)
CIE-LCHlch(45.20, 45.93, 1.21°)
OKLaboklab(54.57% 0.14 0.0031)
OKLCHoklch(54.57% 0.14 1.3)
XYZxyz(22.5876, 14.6844, 15.5519)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF476B #47AF8B
analogous
#AF479F #AF476B #AF5747
triadic
#AF476B #6BAF47 #476BAF
tetradic
#AF476B #9FAF47 #47AF8B #5747AF
square
#AF476B #9FAF47 #47AF8B #5747AF
split-complementary
#AF476B #47AF57 #479FAF
monochromatic
#582436 #833550 #AF476B #C46F8C #D69AAF

Accessibility & contrast

On white

5.33
#AF476B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF476B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF476B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF476B#FFFFFF#000000##FFFFFF
##AF476B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5F6C
Deuteranopia (green-blind)
#757269
Tritanopia (blue-blind)
#BD3D55
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af476b;
/* rgb */ color: rgb(175, 71, 107);
/* oklch */ color: oklch(54.6% 0.140 1.3);
Tailwind
colors: {
  custom: {
    50: '#cb7f95',
    500: '#af476b',
    950: '#000000',
  },
}
SCSS
$custom: #af476b;
$custom-light: #cb7f95;
$custom-dark: #000000;
JSON
{
  "hex": "#af476b",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 107
  },
  "hsl": {
    "h": 339.231,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.14007,
    "h": 1.3
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#AF476B
secondary
#8FC2B1
accent
#D2A756
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF476B

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

Preview Lab → · Contrast checker → · Palette generator →

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