#AF2889#AF2889

#AF2889 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.195 H 342.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF2889
RGBrgb(175, 40, 137)
HSLhsl(317, 63%, 42%)
HSVhsv(317, 77%, 69%)
CMYKcmyk(0%, 77.1%, 21.7%, 31.4%)
CIE-LABlab(41.91, 61.77, -22.39)
CIE-LCHlch(41.91, 65.70, 340.08°)
OKLaboklab(52.51% 0.1857 -0.0601)
OKLCHoklch(52.51% 0.195 342.1)
XYZxyz(22.9541, 12.4401, 24.8544)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2889 #28AF4E
analogous
#9228AF #AF2889 #AF2845
triadic
#AF2889 #89AF28 #2889AF
tetradic
#AF2889 #AF9228 #28AF4E #2845AF
square
#AF2889 #AF9228 #28AF4E #2845AF
split-complementary
#AF2889 #45AF28 #28AF92
monochromatic
#4B113B #7D1D62 #AF2889 #D441AA #DF73C0

Accessibility & contrast

On white

6.02
#AF2889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF2889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2889
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2889#FFFFFF#000000##FFFFFF
##AF28891.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2889;
/* rgb */ color: rgb(175, 40, 137);
/* oklch */ color: oklch(52.5% 0.195 342.1);
Tailwind
colors: {
  custom: {
    50: '#cb71ab',
    500: '#af2889',
    950: '#000000',
  },
}
SCSS
$custom: #af2889;
$custom-light: #cb71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af2889",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 316.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.19521,
    "h": 342.1
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#AF2889
secondary
#6DC686
accent
#E67042
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #AF2889

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

Preview Lab → · Contrast checker → · Palette generator →

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