#AF2989#AF2989

#AF2989 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.194 H 342.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF2989
RGBrgb(175, 41, 137)
HSLhsl(317, 62%, 42%)
HSVhsv(317, 77%, 69%)
CMYKcmyk(0%, 76.6%, 21.7%, 31.4%)
CIE-LABlab(42.01, 61.47, -22.23)
CIE-LCHlch(42.01, 65.36, 340.12°)
OKLaboklab(52.59% 0.1848 -0.0597)
OKLCHoklch(52.59% 0.194 342.1)
XYZxyz(22.9883, 12.5084, 24.8658)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2989 #29AF4F
analogous
#9229AF #AF2989 #AF2946
triadic
#AF2989 #89AF29 #2989AF
tetradic
#AF2989 #AF9229 #29AF4F #2946AF
square
#AF2989 #AF9229 #29AF4F #2946AF
split-complementary
#AF2989 #46AF29 #29AF92
monochromatic
#4C123B #7D1D62 #AF2989 #D342AA #DE74C0

Accessibility & contrast

On white

6.00
#AF2989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AF2989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2989
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2989#FFFFFF#000000##FFFFFF
##AF29891.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#616B86
Tritanopia (blue-blind)
#BA2B56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2989;
/* rgb */ color: rgb(175, 41, 137);
/* oklch */ color: oklch(52.6% 0.194 342.1);
Tailwind
colors: {
  custom: {
    50: '#cb71ab',
    500: '#af2989',
    950: '#000000',
  },
}
SCSS
$custom: #af2989;
$custom-light: #cb71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af2989",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 317.015,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.19418,
    "h": 342.1
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#AF2989
secondary
#6EC687
accent
#E57143
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #AF2989

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

Preview Lab → · Contrast checker → · Palette generator →

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