#AF4B89#AF4B89

#AF4B89 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.2% C 0.149 H 344.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AF4B89
RGBrgb(175, 75, 137)
HSLhsl(323, 40%, 49%)
HSVhsv(323, 57%, 69%)
CMYKcmyk(0%, 57.1%, 21.7%, 31.4%)
CIE-LABlab(46.91, 47.94, -14.71)
CIE-LCHlch(46.91, 50.14, 342.94°)
OKLaboklab(56.18% 0.1436 -0.039)
OKLCHoklch(56.18% 0.149 344.8)
XYZxyz(24.7113, 15.9544, 25.4401)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B89 #4BAF71
analogous
#A34BAF #AF4B89 #AF4B57
triadic
#AF4B89 #89AF4B #4B89AF
tetradic
#AF4B89 #AFA34B #4BAF71 #4B57AF
square
#AF4B89 #AFA34B #4BAF71 #4B57AF
split-complementary
#AF4B89 #57AF4B #4BAFA3
monochromatic
#592646 #843967 #AF4B89 #C374A5 #D69FC1

Accessibility & contrast

On white

5.01
#AF4B89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF4B89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B89
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B89#FFFFFF#000000##FFFFFF
##AF4B891.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54658B
Deuteranopia (green-blind)
#707586
Tritanopia (blue-blind)
#BA4A64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4b89;
/* rgb */ color: rgb(175, 75, 137);
/* oklch */ color: oklch(56.2% 0.149 344.8);
Tailwind
colors: {
  custom: {
    50: '#ca82ab',
    500: '#af4b89',
    950: '#000000',
  },
}
SCSS
$custom: #af4b89;
$custom-light: #ca82ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b89",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 137
  },
  "hsl": {
    "h": 322.8,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.14878,
    "h": 344.8
  },
  "luminance": 0.15952
}

Semantic roles & 50–950 ramp

primary
#AF4B89
secondary
#93C2A5
accent
#D08658
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4B89

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

Preview Lab → · Contrast checker → · Palette generator →

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