#AF476F#AF476F

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

Color values

HEX#AF476F
RGBrgb(175, 71, 111)
HSLhsl(337, 42%, 48%)
HSVhsv(337, 59%, 69%)
CMYKcmyk(0%, 59.4%, 36.6%, 31.4%)
CIE-LABlab(45.32, 46.38, -1.31)
CIE-LCHlch(45.32, 46.40, 358.39°)
OKLaboklab(54.7% 0.1415 -0.0028)
OKLCHoklch(54.7% 0.141 358.9)
XYZxyz(22.8030, 14.7706, 16.6860)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF476F #47AF87
analogous
#AF47A3 #AF476F #AF5347
triadic
#AF476F #6FAF47 #476FAF
tetradic
#AF476F #A3AF47 #47AF87 #5347AF
square
#AF476F #A3AF47 #47AF87 #5347AF
split-complementary
#AF476F #47AF53 #47A3AF
monochromatic
#582438 #833553 #AF476F #C46F90 #D69AB1

Accessibility & contrast

On white

5.31
#AF476F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF476F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF476F#FFFFFF#000000##FFFFFF
##AF476F1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595F70
Deuteranopia (green-blind)
#74736D
Tritanopia (blue-blind)
#BC3E56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af476f;
/* rgb */ color: rgb(175, 71, 111);
/* oklch */ color: oklch(54.7% 0.141 358.9);
Tailwind
colors: {
  custom: {
    50: '#ca7f98',
    500: '#af476f',
    950: '#000000',
  },
}
SCSS
$custom: #af476f;
$custom-light: #ca7f98;
$custom-dark: #000000;
JSON
{
  "hex": "#af476f",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 336.923,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.14148,
    "h": 358.9
  },
  "luminance": 0.14768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF476F

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

Preview Lab → · Contrast checker → · Palette generator →

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