#AF4288#AF4288

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

Color values

HEX#AF4288
RGBrgb(175, 66, 136)
HSLhsl(321, 45%, 47%)
HSVhsv(321, 62%, 69%)
CMYKcmyk(0%, 62.3%, 22.3%, 31.4%)
CIE-LABlab(45.35, 51.93, -16.50)
CIE-LCHlch(45.35, 54.48, 342.38°)
OKLaboklab(55.01% 0.1559 -0.0439)
OKLCHoklch(55.01% 0.162 344.3)
XYZxyz(24.0721, 14.7902, 24.8748)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4288 #42AF69
analogous
#A042AF #AF4288 #AF4252
triadic
#AF4288 #88AF42 #4288AF
tetradic
#AF4288 #AFA042 #42AF69 #4252AF
square
#AF4288 #AFA042 #42AF69 #4252AF
split-complementary
#AF4288 #52AF42 #42AFA0
monochromatic
#562043 #833165 #AF4288 #C668A4 #D795BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4288#FFFFFF#000000##FFFFFF
##AF42881.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)
#4C608A
Deuteranopia (green-blind)
#6B7285
Tritanopia (blue-blind)
#BA415F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4288;
/* rgb */ color: rgb(175, 66, 136);
/* oklch */ color: oklch(55.0% 0.162 344.3);
Tailwind
colors: {
  custom: {
    50: '#ca7daa',
    500: '#af4288',
    950: '#000000',
  },
}
SCSS
$custom: #af4288;
$custom-light: #ca7daa;
$custom-dark: #000000;
JSON
{
  "hex": "#af4288",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 321.468,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.16192,
    "h": 344.3
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#AF4288
secondary
#8AC29E
accent
#D58153
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4288

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

Preview Lab → · Contrast checker → · Palette generator →

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