#AF4770#AF4770

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

Color values

HEX#AF4770
RGBrgb(175, 71, 112)
HSLhsl(336, 42%, 48%)
HSVhsv(336, 59%, 69%)
CMYKcmyk(0%, 59.4%, 36%, 31.4%)
CIE-LABlab(45.35, 46.50, -1.87)
CIE-LCHlch(45.35, 46.54, 357.69°)
OKLaboklab(54.74% 0.1418 -0.0043)
OKLCHoklch(54.74% 0.142 358.3)
XYZxyz(22.8583, 14.7927, 16.9776)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4770 #47AF86
analogous
#AF47A4 #AF4770 #AF5247
triadic
#AF4770 #70AF47 #4770AF
tetradic
#AF4770 #A4AF47 #47AF86 #5247AF
square
#AF4770 #A4AF47 #47AF86 #5247AF
split-complementary
#AF4770 #47AF52 #47A4AF
monochromatic
#582438 #833554 #AF4770 #C46F91 #D69AB2

Accessibility & contrast

On white

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

On black

3.96
#AF4770 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF4770#FFFFFF#000000##FFFFFF
##AF47701.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F71
Deuteranopia (green-blind)
#74736E
Tritanopia (blue-blind)
#BC3F57
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4770;
/* rgb */ color: rgb(175, 71, 112);
/* oklch */ color: oklch(54.7% 0.142 358.3);
Tailwind
colors: {
  custom: {
    50: '#ca7f99',
    500: '#af4770',
    950: '#000000',
  },
}
SCSS
$custom: #af4770;
$custom-light: #ca7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#af4770",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 112
  },
  "hsl": {
    "h": 336.346,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.14187,
    "h": 358.3
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#AF4770
secondary
#8FC2AE
accent
#D2A156
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF4770

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

Preview Lab → · Contrast checker → · Palette generator →

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