#AF2499#AF2499

#AF2499 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.209 H 335.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF2499
RGBrgb(175, 36, 153)
HSLhsl(309, 66%, 41%)
HSVhsv(309, 79%, 69%)
CMYKcmyk(0%, 79.4%, 12.6%, 31.4%)
CIE-LABlab(42.27, 65.11, -31.54)
CIE-LCHlch(42.27, 72.35, 334.16°)
OKLaboklab(53.02% 0.1909 -0.0862)
OKLCHoklch(53.02% 0.209 335.7)
XYZxyz(24.0602, 12.6779, 31.3107)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2499 #24AF3A
analogous
#8024AF #AF2499 #AF2454
triadic
#AF2499 #99AF24 #2499AF
tetradic
#AF2499 #AF8024 #24AF3A #2454AF
square
#AF2499 #AF8024 #24AF3A #2454AF
split-complementary
#AF2499 #54AF24 #24AF80
monochromatic
#490F40 #7C1A6D #AF2499 #D63ABE #E16DCE

Accessibility & contrast

On white

5.94
#AF2499 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF2499 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2499
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2499#FFFFFF#000000##FFFFFF
##AF24991.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#B8305E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2499;
/* rgb */ color: rgb(175, 36, 153);
/* oklch */ color: oklch(53.0% 0.209 335.7);
Tailwind
colors: {
  custom: {
    50: '#cb70b7',
    500: '#af2499',
    950: '#000000',
  },
}
SCSS
$custom: #af2499;
$custom-light: #cb70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2499",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 309.496,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.20943,
    "h": 335.7
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#AF2499
secondary
#68C777
accent
#E95A3F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2499

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

Preview Lab → · Contrast checker → · Palette generator →

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