#AF2D89#AF2D89

#AF2D89 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.9% C 0.190 H 342.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF2D89
RGBrgb(175, 45, 137)
HSLhsl(318, 59%, 43%)
HSVhsv(318, 74%, 69%)
CMYKcmyk(0%, 74.3%, 21.7%, 31.4%)
CIE-LABlab(42.46, 60.20, -21.54)
CIE-LCHlch(42.46, 63.94, 340.32°)
OKLaboklab(52.91% 0.1809 -0.0578)
OKLCHoklch(52.91% 0.19 342.3)
XYZxyz(23.1337, 12.7992, 24.9142)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D89 #2DAF53
analogous
#942DAF #AF2D89 #AF2D48
triadic
#AF2D89 #89AF2D #2D89AF
tetradic
#AF2D89 #AF942D #2DAF53 #2D48AF
square
#AF2D89 #AF942D #2DAF53 #2D48AF
split-complementary
#AF2D89 #48AF2D #2DAF94
monochromatic
#4E143D #7E2063 #AF2D89 #D049A9 #DD7AC0

Accessibility & contrast

On white

5.90
#AF2D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF2D89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D89
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D89#FFFFFF#000000##FFFFFF
##AF2D891.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#626C86
Tritanopia (blue-blind)
#BA2E57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2d89;
/* rgb */ color: rgb(175, 45, 137);
/* oklch */ color: oklch(52.9% 0.190 342.3);
Tailwind
colors: {
  custom: {
    50: '#cb73ab',
    500: '#af2d89',
    950: '#000000',
  },
}
SCSS
$custom: #af2d89;
$custom-light: #cb73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d89",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 317.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.1899,
    "h": 342.3
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#AF2D89
secondary
#73C58B
accent
#E27346
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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