#AF24AE#AF24AE

#AF24AE is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.224 H 328.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF24AE
RGBrgb(175, 36, 174)
HSLhsl(300, 66%, 41%)
HSVhsv(300, 79%, 69%)
CMYKcmyk(0%, 79.4%, 0.6%, 31.4%)
CIE-LABlab(43.41, 68.29, -42.30)
CIE-LCHlch(43.41, 80.33, 328.22°)
OKLaboklab(54.2% 0.1911 -0.1173)
OKLCHoklch(54.2% 0.224 328.5)
XYZxyz(25.9498, 13.4337, 41.2624)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF24AE #24AF25
analogous
#6B24AF #AF24AE #AF2469
triadic
#AF24AE #AEAF24 #24AEAF
tetradic
#AF24AE #AF6B24 #24AF25 #2469AF
square
#AF24AE #AF6B24 #24AF25 #2469AF
split-complementary
#AF24AE #69AF24 #24AF6B
monochromatic
#490F49 #7C1A7C #AF24AE #D63AD5 #E16DE0

Accessibility & contrast

On white

5.70
#AF24AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF24AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF24AE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF24AE#FFFFFF#000000##FFFFFF
##AF24AE1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4E6DAB
Tritanopia (blue-blind)
#B53C6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af24ae;
/* rgb */ color: rgb(175, 36, 174);
/* oklch */ color: oklch(54.2% 0.224 328.5);
Tailwind
colors: {
  custom: {
    50: '#cb71c7',
    500: '#af24ae',
    950: '#000000',
  },
}
SCSS
$custom: #af24ae;
$custom-light: #cb71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af24ae",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 300.432,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.22428,
    "h": 328.5
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#AF24AE
secondary
#68C768
accent
#E9403F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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