#AF476C#AF476C

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

Color values

HEX#AF476C
RGBrgb(175, 71, 108)
HSLhsl(339, 42%, 48%)
HSVhsv(339, 59%, 69%)
CMYKcmyk(0%, 59.4%, 38.3%, 31.4%)
CIE-LABlab(45.23, 46.03, 0.40)
CIE-LCHlch(45.23, 46.03, 0.50°)
OKLaboklab(54.61% 0.1404 0.0016)
OKLCHoklch(54.61% 0.14 0.7)
XYZxyz(22.6405, 14.7056, 15.8306)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF476C #47AF8A
analogous
#AF47A0 #AF476C #AF5647
triadic
#AF476C #6CAF47 #476CAF
tetradic
#AF476C #A0AF47 #47AF8A #5647AF
square
#AF476C #A0AF47 #47AF8A #5647AF
split-complementary
#AF476C #47AF56 #47A0AF
monochromatic
#582436 #833551 #AF476C #C46F8D #D69AB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF476C#FFFFFF#000000##FFFFFF
##AF476C1.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)
#595F6D
Deuteranopia (green-blind)
#75726A
Tritanopia (blue-blind)
#BD3D55
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af476c;
/* rgb */ color: rgb(175, 71, 108);
/* oklch */ color: oklch(54.6% 0.140 0.7);
Tailwind
colors: {
  custom: {
    50: '#cb7f96',
    500: '#af476c',
    950: '#000000',
  },
}
SCSS
$custom: #af476c;
$custom-light: #cb7f96;
$custom-dark: #000000;
JSON
{
  "hex": "#af476c",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 108
  },
  "hsl": {
    "h": 338.654,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54606,
    "c": 0.14041,
    "h": 0.7
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#AF476C
secondary
#8FC2B0
accent
#D2A656
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF476C

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

Preview Lab → · Contrast checker → · Palette generator →

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