#AF476D#AF476D

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

Color values

HEX#AF476D
RGBrgb(175, 71, 109)
HSLhsl(338, 42%, 48%)
HSVhsv(338, 59%, 69%)
CMYKcmyk(0%, 59.4%, 37.7%, 31.4%)
CIE-LABlab(45.26, 46.15, -0.17)
CIE-LCHlch(45.26, 46.15, 359.79°)
OKLaboklab(54.64% 0.1407 0.0001)
OKLCHoklch(54.64% 0.141 0.1)
XYZxyz(22.6941, 14.7270, 16.1125)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF476D #47AF89
analogous
#AF47A1 #AF476D #AF5547
triadic
#AF476D #6DAF47 #476DAF
tetradic
#AF476D #A1AF47 #47AF89 #5547AF
square
#AF476D #A1AF47 #47AF89 #5547AF
split-complementary
#AF476D #47AF55 #47A1AF
monochromatic
#582437 #833552 #AF476D #C46F8E #D69AB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF476D#FFFFFF#000000##FFFFFF
##AF476D1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595F6E
Deuteranopia (green-blind)
#75726B
Tritanopia (blue-blind)
#BD3E56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af476d;
/* rgb */ color: rgb(175, 71, 109);
/* oklch */ color: oklch(54.6% 0.141 0.1);
Tailwind
colors: {
  custom: {
    50: '#cb7f96',
    500: '#af476d',
    950: '#000000',
  },
}
SCSS
$custom: #af476d;
$custom-light: #cb7f96;
$custom-dark: #000000;
JSON
{
  "hex": "#af476d",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 109
  },
  "hsl": {
    "h": 338.077,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.14075,
    "h": 0.1
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#AF476D
secondary
#8FC2B0
accent
#D2A556
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF476D

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

Preview Lab → · Contrast checker → · Palette generator →

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