#AF476E#AF476E

#AF476E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.7% C 0.141 H 359.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AF476E
RGBrgb(175, 71, 110)
HSLhsl(338, 42%, 48%)
HSVhsv(338, 59%, 69%)
CMYKcmyk(0%, 59.4%, 37.1%, 31.4%)
CIE-LABlab(45.29, 46.26, -0.74)
CIE-LCHlch(45.29, 46.27, 359.09°)
OKLaboklab(54.67% 0.1411 -0.0013)
OKLCHoklch(54.67% 0.141 359.5)
XYZxyz(22.7482, 14.7487, 16.3976)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF476E #47AF88
analogous
#AF47A2 #AF476E #AF5447
triadic
#AF476E #6EAF47 #476EAF
tetradic
#AF476E #A2AF47 #47AF88 #5447AF
square
#AF476E #A2AF47 #47AF88 #5447AF
split-complementary
#AF476E #47AF54 #47A2AF
monochromatic
#582437 #833553 #AF476E #C46F8F #D69AB1

Accessibility & contrast

On white

5.32
#AF476E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF476E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF476E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF476E#FFFFFF#000000##FFFFFF
##AF476E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595F6F
Deuteranopia (green-blind)
#74726C
Tritanopia (blue-blind)
#BC3E56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af476e;
/* rgb */ color: rgb(175, 71, 110);
/* oklch */ color: oklch(54.7% 0.141 359.5);
Tailwind
colors: {
  custom: {
    50: '#cb7f97',
    500: '#af476e',
    950: '#000000',
  },
}
SCSS
$custom: #af476e;
$custom-light: #cb7f97;
$custom-dark: #000000;
JSON
{
  "hex": "#af476e",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 110
  },
  "hsl": {
    "h": 337.5,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.14111,
    "h": 359.5
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#AF476E
secondary
#8FC2AF
accent
#D2A356
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF476E

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

Preview Lab → · Contrast checker → · Palette generator →

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