#AF2A84#AF2A84

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

Color values

HEX#AF2A84
RGBrgb(175, 42, 132)
HSLhsl(319, 61%, 43%)
HSVhsv(319, 76%, 69%)
CMYKcmyk(0%, 76%, 24.6%, 31.4%)
CIE-LABlab(41.90, 60.51, -19.33)
CIE-LCHlch(41.90, 63.52, 342.28°)
OKLaboklab(52.44% 0.183 -0.0516)
OKLCHoklch(52.44% 0.19 344.3)
XYZxyz(22.6729, 12.4383, 23.0321)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A84 #2AAF55
analogous
#972AAF #AF2A84 #AF2A42
triadic
#AF2A84 #84AF2A #2A84AF
tetradic
#AF2A84 #AF972A #2AAF55 #2A42AF
square
#AF2A84 #AF972A #2AAF55 #2A42AF
split-complementary
#AF2A84 #42AF2A #2AAF97
monochromatic
#4C123A #7E1E5F #AF2A84 #D244A4 #DE75BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2A84#FFFFFF#000000##FFFFFF
##AF2A841.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)
#3A5586
Deuteranopia (green-blind)
#636B81
Tritanopia (blue-blind)
#BB2954
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2a84;
/* rgb */ color: rgb(175, 42, 132);
/* oklch */ color: oklch(52.4% 0.190 344.3);
Tailwind
colors: {
  custom: {
    50: '#cb71a8',
    500: '#af2a84',
    950: '#000000',
  },
}
SCSS
$custom: #af2a84;
$custom-light: #cb71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a84",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 319.398,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.19011,
    "h": 344.3
  },
  "luminance": 0.12436
}

Semantic roles & 50–950 ramp

primary
#AF2A84
secondary
#6FC68B
accent
#E47743
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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