#AF2E84#AF2E84

#AF2E84 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.186 H 344.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF2E84
RGBrgb(175, 46, 132)
HSLhsl(320, 58%, 43%)
HSVhsv(320, 74%, 69%)
CMYKcmyk(0%, 73.7%, 24.6%, 31.4%)
CIE-LABlab(42.36, 59.21, -18.63)
CIE-LCHlch(42.36, 62.07, 342.54°)
OKLaboklab(52.77% 0.179 -0.0496)
OKLCHoklch(52.77% 0.186 344.5)
XYZxyz(22.8220, 12.7363, 23.0818)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E84 #2EAF59
analogous
#992EAF #AF2E84 #AF2E43
triadic
#AF2E84 #84AF2E #2E84AF
tetradic
#AF2E84 #AF992E #2EAF59 #2E43AF
square
#AF2E84 #AF992E #2EAF59 #2E43AF
split-complementary
#AF2E84 #43AF2E #2EAF99
monochromatic
#4E153B #7F215F #AF2E84 #D04BA3 #DC7BBC

Accessibility & contrast

On white

5.92
#AF2E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF2E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E84
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E84#FFFFFF#000000##FFFFFF
##AF2E841.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5686
Deuteranopia (green-blind)
#646C81
Tritanopia (blue-blind)
#BB2D55
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2e84;
/* rgb */ color: rgb(175, 46, 132);
/* oklch */ color: oklch(52.8% 0.186 344.5);
Tailwind
colors: {
  custom: {
    50: '#cb73a8',
    500: '#af2e84',
    950: '#000000',
  },
}
SCSS
$custom: #af2e84;
$custom-light: #cb73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e84",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 320,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.18571,
    "h": 344.5
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#AF2E84
secondary
#74C58F
accent
#E27A46
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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