#AF476A#AF476A

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

Color values

HEX#AF476A
RGBrgb(175, 71, 106)
HSLhsl(340, 42%, 48%)
HSVhsv(340, 59%, 69%)
CMYKcmyk(0%, 59.4%, 39.4%, 31.4%)
CIE-LABlab(45.17, 45.80, 1.54)
CIE-LCHlch(45.17, 45.83, 1.93°)
OKLaboklab(54.54% 0.1397 0.0046)
OKLCHoklch(54.54% 0.14 1.9)
XYZxyz(22.5353, 14.6635, 15.2764)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF476A #47AF8C
analogous
#AF479E #AF476A #AF5847
triadic
#AF476A #6AAF47 #476AAF
tetradic
#AF476A #9EAF47 #47AF8C #5847AF
square
#AF476A #9EAF47 #47AF8C #5847AF
split-complementary
#AF476A #47AF58 #479EAF
monochromatic
#582435 #833550 #AF476A #C46F8C #D69AAE

Accessibility & contrast

On white

5.34
#AF476A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF476A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF476A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF476A#FFFFFF#000000##FFFFFF
##AF476A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5E6B
Deuteranopia (green-blind)
#757268
Tritanopia (blue-blind)
#BD3D54
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af476a;
/* rgb */ color: rgb(175, 71, 106);
/* oklch */ color: oklch(54.5% 0.140 1.9);
Tailwind
colors: {
  custom: {
    50: '#cb7f94',
    500: '#af476a',
    950: '#000000',
  },
}
SCSS
$custom: #af476a;
$custom-light: #cb7f94;
$custom-dark: #000000;
JSON
{
  "hex": "#af476a",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 339.808,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54543,
    "c": 0.13975,
    "h": 1.9
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF476A

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

Preview Lab → · Contrast checker → · Palette generator →

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