#AF4A6D#AF4A6D

#AF4A6D is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.0% C 0.136 H 0.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF4A6D
RGBrgb(175, 74, 109)
HSLhsl(339, 41%, 49%)
HSVhsv(339, 58%, 69%)
CMYKcmyk(0%, 57.7%, 37.7%, 31.4%)
CIE-LABlab(45.80, 44.72, 0.61)
CIE-LCHlch(45.80, 44.72, 0.79°)
OKLaboklab(55.04% 0.1363 0.0022)
OKLCHoklch(55.04% 0.136 0.9)
XYZxyz(22.8896, 15.1181, 16.1777)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A6D #4AAF8C
analogous
#AF4AA0 #AF4A6D #AF5A4A
triadic
#AF4A6D #6DAF4A #4A6DAF
tetradic
#AF4A6D #A0AF4A #4AAF8C #5A4AAF
square
#AF4A6D #A0AF4A #4AAF8C #5A4AAF
split-complementary
#AF4A6D #4AAF5A #4AA0AF
monochromatic
#592637 #843852 #AF4A6D #C4738F #D69EB1

Accessibility & contrast

On white

5.22
#AF4A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF4A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A6D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A6D#FFFFFF#000000##FFFFFF
##AF4A6D1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C606E
Deuteranopia (green-blind)
#76746B
Tritanopia (blue-blind)
#BC4157
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4a6d;
/* rgb */ color: rgb(175, 74, 109);
/* oklch */ color: oklch(55.0% 0.136 0.9);
Tailwind
colors: {
  custom: {
    50: '#ca8196',
    500: '#af4a6d',
    950: '#000000',
  },
}
SCSS
$custom: #af4a6d;
$custom-light: #ca8196;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a6d",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 109
  },
  "hsl": {
    "h": 339.208,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55039,
    "c": 0.13631,
    "h": 0.9
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#AF4A6D
secondary
#92C2B2
accent
#D0A657
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF4A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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