#AF4775#AF4775

#AF4775 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.9% C 0.144 H 355.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF4775
RGBrgb(175, 71, 117)
HSLhsl(333, 42%, 48%)
HSVhsv(333, 59%, 69%)
CMYKcmyk(0%, 59.4%, 33.1%, 31.4%)
CIE-LABlab(45.51, 47.11, -4.70)
CIE-LCHlch(45.51, 47.35, 354.31°)
OKLaboklab(54.91% 0.1435 -0.0118)
OKLCHoklch(54.91% 0.144 355.3)
XYZxyz(23.1445, 14.9072, 18.4847)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4775 #47AF81
analogous
#AF47A9 #AF4775 #AF4D47
triadic
#AF4775 #75AF47 #4775AF
tetradic
#AF4775 #A9AF47 #47AF81 #4D47AF
square
#AF4775 #A9AF47 #47AF81 #4D47AF
split-complementary
#AF4775 #47AF4D #47A9AF
monochromatic
#58243B #833558 #AF4775 #C46F95 #D69AB5

Accessibility & contrast

On white

5.28
#AF4775 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF4775 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4775
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4775#FFFFFF#000000##FFFFFF
##AF47751.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576076
Deuteranopia (green-blind)
#737373
Tritanopia (blue-blind)
#BC4059
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4775;
/* rgb */ color: rgb(175, 71, 117);
/* oklch */ color: oklch(54.9% 0.144 355.3);
Tailwind
colors: {
  custom: {
    50: '#ca7f9c',
    500: '#af4775',
    950: '#000000',
  },
}
SCSS
$custom: #af4775;
$custom-light: #ca7f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4775",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 117
  },
  "hsl": {
    "h": 333.462,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.14395,
    "h": 355.3
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#AF4775
secondary
#8FC2AC
accent
#D29B56
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4775

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

Preview Lab → · Contrast checker → · Palette generator →

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