#AF4289#AF4289

#AF4289 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.1% C 0.163 H 343.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF4289
RGBrgb(175, 66, 137)
HSLhsl(321, 45%, 47%)
HSVhsv(321, 62%, 69%)
CMYKcmyk(0%, 62.3%, 21.7%, 31.4%)
CIE-LABlab(45.38, 52.07, -17.04)
CIE-LCHlch(45.38, 54.78, 341.88°)
OKLaboklab(55.05% 0.1561 -0.0454)
OKLCHoklch(55.05% 0.163 343.8)
XYZxyz(24.1435, 14.8188, 25.2508)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4289 #42AF68
analogous
#9E42AF #AF4289 #AF4253
triadic
#AF4289 #89AF42 #4289AF
tetradic
#AF4289 #AF9E42 #42AF68 #4253AF
square
#AF4289 #AF9E42 #42AF68 #4253AF
split-complementary
#AF4289 #53AF42 #42AF9E
monochromatic
#562043 #833166 #AF4289 #C668A5 #D795C0

Accessibility & contrast

On white

5.30
#AF4289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4289
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4289#FFFFFF#000000##FFFFFF
##AF42891.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608B
Deuteranopia (green-blind)
#6B7286
Tritanopia (blue-blind)
#BA4260
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4289;
/* rgb */ color: rgb(175, 66, 137);
/* oklch */ color: oklch(55.1% 0.163 343.8);
Tailwind
colors: {
  custom: {
    50: '#ca7dab',
    500: '#af4289',
    950: '#000000',
  },
}
SCSS
$custom: #af4289;
$custom-light: #ca7dab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4289",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 320.917,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55051,
    "c": 0.16256,
    "h": 343.8
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4289

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

Preview Lab → · Contrast checker → · Palette generator →

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