#AF489B#AF489B

#AF489B is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.6% C 0.166 H 335.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF489B
RGBrgb(175, 72, 155)
HSLhsl(312, 42%, 48%)
HSVhsv(312, 59%, 69%)
CMYKcmyk(0%, 58.9%, 11.4%, 31.4%)
CIE-LABlab(47.13, 52.11, -25.16)
CIE-LCHlch(47.13, 57.87, 334.23°)
OKLaboklab(56.58% 0.1518 -0.0683)
OKLCHoklch(56.58% 0.166 335.8)
XYZxyz(25.9132, 16.1172, 32.7501)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF489B #48AF5C
analogous
#8F48AF #AF489B #AF4868
triadic
#AF489B #9BAF48 #489BAF
tetradic
#AF489B #AF8F48 #48AF5C #4868AF
square
#AF489B #AF8F48 #48AF5C #4868AF
split-complementary
#AF489B #68AF48 #48AF8F
monochromatic
#58244E #843675 #AF489B #C470B4 #D69BCB

Accessibility & contrast

On white

4.97
#AF489B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF489B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF489B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF489B#FFFFFF#000000##FFFFFF
##AF489B1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49669E
Deuteranopia (green-blind)
#687598
Tritanopia (blue-blind)
#B74D6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af489b;
/* rgb */ color: rgb(175, 72, 155);
/* oklch */ color: oklch(56.6% 0.166 335.8);
Tailwind
colors: {
  custom: {
    50: '#ca81b8',
    500: '#af489b',
    950: '#000000',
  },
}
SCSS
$custom: #af489b;
$custom-light: #ca81b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af489b",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 311.65,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.1664,
    "h": 335.8
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#AF489B
secondary
#90C29A
accent
#D26E56
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF489B

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

Preview Lab → · Contrast checker → · Palette generator →

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